more-jeesh

A lightweight, ender.js bridge of simplified jQuery compatible methods.

more jeesh

A lightweight, ender.js bridge of simplified jQuery compatible methods.

Building more-jeesh with ender will first install the jeesh package with more-jeesh on top of it.

# Build the jeesh with more-jeesh 
ender build more-jeesh
 
# Add more-jeesh to your current build 
ender add more-jeesh

You can use more-jeesh with grunt-ender as well.

// Project configuration. 
grunt.initConfig({
    // Ender config. 
    ender: {
        options: {
            output: "js/lib/ender/ender",
            dependencies: ["more-jeesh"]
        }
    }
});

The following methods are added:

// jQuery compat 
ender.fn.push
ender.fn.not
ender.fn.eq
ender.fn.index
ender.fn.add
ender.fn.toArray
ender.fn.filter
 
// Original 
ender.fn.sort // Uses native Array.sort 
ender.fn.extract // Retrieve a range from an ender set 
 
// Utility 
ender.indexOf // Uses native Array.indexOf or fallback