Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ender-js/jeesh

The official starter pack for Ender.
https://github.com/ender-js/jeesh

Last synced: 3 months ago
JSON representation

The official starter pack for Ender.

Awesome Lists containing this project

README

        

THE JEESH
---------

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:

* domReady - a cross-browser [domReady](https://github.com/ded/domready)
* Qwery - a fast light-weight [selector engine](https://github.com/ded/qwery)
* Bonzo - a bullet-proof [DOM utility](https://github.com/ded/bonzo)
* Bean - a multi-platform [Event provider](https://github.com/fat/bean)

BUILDING
--------

To build the jeesh... just run:

$ ender build jeesh

WHAT DOES THIS SETUP LOOK LIKE?
-------------------------------

domready

``` js
$.domReady(function () {...})
```

DOM queries

``` js
$('#boosh a[rel~="bookmark"]').each(function (el) { ... });
```

Manipulation

``` js
$('#boosh p a[rel~="bookmark"]').hide().html('hello').css({
color: 'red',
'text-decoration': 'none'
}).addClass('blamo').after('✓').show();
```

Events

``` js
$('#content a').bind('keydown input', handler);
$('#content a').emit('customEvent');
$('#content a').remove('click.myClick');
```

No Conflict

``` js
var E = $.noConflict(); // return '$' back to its original owner
E('#boosh a.foo').each(fn);
```

GETTING STARTED WITH THE JEESH
------------------------------
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)