Chosen is a library for making long, unwieldy select boxes more friendly.
CoffeeScript JavaScript
Pull request Compare This branch is 10 commits ahead, 852 commits behind harvesthq:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist/resources
examples
lib
src/main
test
.gitignore
Gruntfile.coffee
LICENSE.md
README.md
VERSION
index.js
package.json

README.md

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.$