chosen-jquery-browserify

Chosen is a JavaScript plugin that makes long, unwieldy select boxes much more user-friendly. This version is a fork of the original, made grunt- and browserify- and npm-friendly

npm install chosen-jquery-browserify
5 downloads in the last day
22 downloads in the last week
69 downloads in the last month

Chosen

Chosen is a library for making long, unwieldy select boxes more user friendly. This is a fork of the original Chosen plugin. This plugin bundles its own version of jquery and makes the chosen plugin sutiable for requiring in projects that use browserify.

  • jQuery support: 1.4+

For documentation, usage, and examples, see:
http://harvesthq.github.com/chosen

Contributing to Chosen

Contributions and pull requests are very welcome. Please follow these guidelines when submitting new code.

  1. Make all changes in Coffeescript files, not JavaScript files.
  2. For feature changes, update both jQuery and Prototype versions
  3. Use npm install -d to install the correct development dependencies.
  4. Use grunt to generate Chosen's JavaScript file and minified version.
  5. Don't touch the VERSION file
  6. Submit a Pull Request using GitHub.

Using CoffeeScript & Cake

First, make sure you have the proper CoffeeScript set-up in place. We have added a package.json that makes this easy:

npm install -d

This will install all the development dependencies.

Once you're configured, building the JavasScript from the command line is easy:

grunt

Chosen Credits

Notable Forks

Changelog

1.0.0 -- users must provide a valid jquery instance at global.$

npm loves you