├── README.md └── package.json /README.md: -------------------------------------------------------------------------------- 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 add and remove packages to really make it your own. Currently, the Jeesh includes: 5 | 6 | * domReady - a cross-browser [domReady](https://github.com/ded/domready) 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 | 16 | $ ender build jeesh 17 | 18 | WHAT DOES THIS SETUP LOOK LIKE? 19 | ------------------------------- 20 | 21 |

domready

22 | 23 | ``` js 24 | $.domReady(function () {...}) 25 | ``` 26 | 27 |

DOM queries

28 | 29 | ``` js 30 | $('#boosh a[rel~="bookmark"]').each(function (el) { ... }); 31 | ``` 32 | 33 |

Manipulation

34 | 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 | ``` 41 | 42 |

Events

43 | 44 | ``` js 45 | $('#content a').bind('keydown input', handler); 46 | $('#content a').emit('customEvent'); 47 | $('#content a').remove('click.myClick'); 48 | ``` 49 | 50 |

No Conflict

51 | 52 | ``` js 53 | var E = $.noConflict(); // return '$' back to its original owner 54 | E('#boosh a.foo').each(fn); 55 | ``` 56 | 57 | GETTING STARTED WITH THE JEESH 58 | ------------------------------ 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) 60 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jeesh", 3 | "description": "The official starter pack for Ender.", 4 | "version": "1.0.0", 5 | "authors": ["Dustin Diaz <@ded>", "Jacob Thornton <@fat>"], 6 | "keywords": ["ender", "jeesh"], 7 | "homepage": "https://github.com/ender-js/jeesh", 8 | "dependencies": { 9 | "domready": "*", 10 | "qwery": "*", 11 | "bonzo": "*", 12 | "bean": "*" 13 | } 14 | } 15 | --------------------------------------------------------------------------------