Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 60 lines (43 sloc) 1.824 kb
f4df399 @fat add readme
fat authored
1 THE JEESH
2 ---------
3
4 The Jeesh is like a starter pack for ender. At only *7.5k* the Jeesh can help you build anything from small prototypes to providing a solid base for large-scale rich application for desktop and mobile devices. At it's core, it's a collection of packages that we've found particularly useful for major use-case development endeavors -- but we encourage use to <code>add</code> and <code>remove</code> packages to really make it your own. Currently, the Jeesh includes:
5
7b15ce3 @ded fix domReady URL
ded authored
6 * domReady - a cross-browser [domReady](https://github.com/ded/domready)
f4df399 @fat add readme
fat authored
7 * Qwery - a fast light-weight [selector engine](https://github.com/ded/qwery)
8 * Bonzo - a bullet-proof [DOM utility](https://github.com/ded/bonzo)
9 * Bean - a multi-platform [Event provider](https://github.com/fat/bean)
10
11 BUILDING
12 --------
13
14 To build the jeesh... just run:
15
fbd6d36 @fat update -b to build in readme
fat authored
16 $ ender build jeesh
f4df399 @fat add readme
fat authored
17
18 WHAT DOES THIS SETUP LOOK LIKE?
19 -------------------------------
20
21 <h3>domready</h3>
22
649d663 @ded use special md syntax for js
ded authored
23 ``` js
24 $.domReady(function () {...})
25 ```
f4df399 @fat add readme
fat authored
26
27 <h3>DOM queries</h3>
28
649d663 @ded use special md syntax for js
ded authored
29 ``` js
30 $('#boosh a[rel~="bookmark"]').each(function (el) { ... });
31 ```
f4df399 @fat add readme
fat authored
32
33 <h3>Manipulation</h3>
34
649d663 @ded use special md syntax for js
ded authored
35 ``` js
36 $('#boosh p a[rel~="bookmark"]').hide().html('hello').css({
37 color: 'red',
38 'text-decoration': 'none'
39 }).addClass('blamo').after('').show();
40 ```
f4df399 @fat add readme
fat authored
41
42 <h3>Events</h3>
43
649d663 @ded use special md syntax for js
ded authored
44 ``` js
45 $('#content a').bind('keydown input', handler);
46 $('#content a').emit('customEvent');
47 $('#content a').remove('click.myClick');
48 ```
f4df399 @fat add readme
fat authored
49
50 <h3>No Conflict</h3>
51
649d663 @ded use special md syntax for js
ded authored
52 ``` js
53 var E = $.noConflict(); // return '$' back to its original owner
54 E('#boosh a.foo').each(fn);
55 ```
f4df399 @fat add readme
fat authored
56
57 GETTING STARTED WITH THE JEESH
58 ------------------------------
36b59d4 @ded updated jeesh url
ded authored
59 If you're looking to test drive this setup, have a play with [the compiled source](http://ender-js.s3.amazonaws.com/jeesh.min.js)
f4df399 @fat add readme
fat authored
60 <iframe id="fiddle-example" src="http://jsfiddle.net/yakWA/2/embedded/"></iframe>
Something went wrong with that request. Please try again.