Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 920 Bytes

CONTRIBUTING.md

File metadata and controls

22 lines (13 loc) · 920 Bytes

Contributing to jQuery Panzoom

Follow the jQuery style guide, with these exceptions:

  • Use single quotes
  • Multiple var statements can be used to group variable declarations logically
  • Use jsdoc-style comments for functions
  • Don't put extra spaces in parens and brackets.

Add tests to test.js.

grunt watch:dev

Lint, uglify, and livereload the test page in the browser on file changes.

grunt watch:test

Lint, uglify, and automatically test in the terminal using phantomjs on file changes.

If you're unfamiliar with grunt, gruntjs.com is a good place to start. Follow instructions for installing grunt and see the Gruntfile for the tasks used.

Test in all browsers (IE9+, Firefox, Chrome, Safari, Opera, Mobile browsers to which you have access) before submitting a pull request.