chosen/README.md

46 lines
1.8 KiB
Markdown
Raw Normal View History

2011-07-20 18:04:40 +02:00
# Chosen
2011-05-05 17:51:44 +02:00
2011-06-23 00:14:06 +02:00
Chosen is a library for making long, unwieldy select boxes more user friendly.
2011-07-20 18:07:53 +02:00
- jQuery support: 1.4+
- Prototype support: 1.7+
2011-07-20 18:04:40 +02:00
2011-07-31 20:05:56 +02:00
For documentation, usage, and examples, see:
2011-07-20 18:04:40 +02:00
http://harvesthq.github.com/chosen
2011-07-31 20:05:56 +02:00
### 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 'cake build' to generate Chosen's JavaScript file and minified version.
2011-07-31 21:54:53 +02:00
4. Don't touch the VERSION file
2011-07-31 20:05:56 +02:00
5. Submit a Pull Request using GitHub.
### Using CoffeeScript & Cake
First, make sure you have the proper CoffeeScript / Cake set-up in place.
1. Install Coffeescript: the [CoffeeScript documentation](http://jashkenas.github.com/coffee-script/) provides easy-to-follow instructions.
2. Install UglifyJS: <code>npm -g install uglify-js</code>
3. Verify that your $NODE_PATH is properly configured using <code>echo $NODE_PATH</code>
Once you're configured, building the JavasScript from the command line is easy:
cake build # build Chosen from source
cake watch # watch coffee/ for changes and build Chosen
If you're interested, you can find the recipes in Cakefile.
2011-07-21 00:06:36 +02:00
### Chosen Credits
2011-07-20 18:04:40 +02:00
2011-11-10 23:10:48 +01:00
- Built by [Harvest](http://www.getharvest.com/). Want to work on projects like this? [Were hiring](http://www.getharvest.com/careers)!
2011-07-21 00:06:36 +02:00
- Concept and development by [Patrick Filler](http://www.patrickfiller.com/)
- Design and CSS by [Matthew Lettini](http://matthewlettini.com/)
2011-07-20 18:04:40 +02:00
2011-07-21 00:06:36 +02:00
### Notable Forks
2011-07-20 18:04:40 +02:00
2011-07-21 00:06:36 +02:00
- [Chosen for MooTools](https://github.com/julesjanssen/chosen), by Jules Janssen
- [Chosen Drupal 7 Module](http://drupal.org/project/chosen), by Pol Dell'Aiera, Arshad Chummun, Bart Feenstra, Kálmán Hosszu, etc.