---
layout: default
title: Contribute
---
Setup environment
1. Install Node.js
Go to Nodejs.org
2. Install dependencies
npm install
Compile and test
Compile the script (build/build.js)
grunt
Watch and recompile when files change
grunt watch
Create standalone List.js (dist/list.js)
grunt dist
Run the test suite
grunt test
Or open this file your browser
/test/index.html
Guidelines for making pull requests
- Add tests if applicable.
- Make sure all tests run. Preferably in IE7+
- Do not include
dist/list.js
or dist/list.min.js
. That file is only update for each release.
- ONE feature per pull request
- List.js is used in a lot of different ways on a lot of places, so please have understanding if your new special feature is not accepted :)