more-jeesh

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

npm install more-jeesh
12 downloads in the last week
16 downloads in the last month

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
npm loves you