Please do not edit files in the dist subdirectory as they are generated via Grunt. You will find source code in the js subdirectory.
Regarding code style like indentation and whitespace, follow the conventions you see used in the source already.
Please follow jQuery Foundation JavaScript Style Guide and/or idomatic.js.
- Create a new branch, please do not work in your
masterbranch directly. - Fix stuff.
- Run
gruntto verify that your code is lint-free. Repeat steps 2-3 until done. - Update the documentation to reflect any changes.
- Push to your fork and submit a pull request.
- install node.js ~0.8
- install grunt-cli (info):
npm install -g grunt-cli
- uninstall versions of grunt < 0.4.1
- install grunt 0.4.1 locally into your project folder (info):
cd path/to/geo
npm install grunt
- install required grunt build tasks locally
npm install grunt-contrib-clean
npm install grunt-contrib-concat
npm install grunt-contrib-uglify
npm install grunt-contrib-jshint
- run grunt:
grunt
Unless you have downloaded a tagged release, grunt will create a test version of jQuery Geo: dist/jquery.geo-1.0.0-test.min.js