Dateigrösse: 1.54 kb
1 ##Issues 2 3 - Report issues or feature requests on [GitHub Issues](https://github.com/carhartl/jquery-cookie/issues). 4 - If reporting a bug, please add a [simplified example](http://sscce.org/). 5 6 ##Pull requests 7 - Create a new topic branch for every separate change you make. 8 - Create a test case if you are fixing a bug or implementing an important feature. 9 - Make sure the build runs successfully. 10 11 ## Development 12 13 ###Tools 14 We use the following tools for development: 15 16 - [Qunit](http://qunitjs.com/) for tests. 17 - [NodeJS](http://nodejs.org/download/) required to run grunt. 18 - [Grunt](http://gruntjs.com/getting-started) for task management. 19 20 ###Getting started 21 Install [NodeJS](http://nodejs.org/). 22 Install globally grunt-cli using the following command: 23 24 $ npm install -g grunt-cli 25 26 Browse to the project root directory and install the dev dependencies: 27 28 $ npm install -d 29 30 To execute the build and tests run the following command in the root of the project: 31 32 $ grunt 33 34 You should see a green message in the console: 35 36 Done, without errors. 37 38 ###Tests 39 You can also run the tests in the browser. 40 Start a test server from the project root: 41 42 $ grunt connect:tests 43 44 This will automatically open the test suite at http://127.0.0.1:9998 in the default browser, with livereload enabled. 45 46 _Note: we recommend cleaning all the browser cookies before running the tests, that can avoid false positive failures._ 47 48 ###Automatic build 49 You can build automatically after a file change using the following command: 50 51 $ grunt watch 52