Please follow the existing style of the project, including variable declaration placement, prototype property declarations, etc.
As a short guide:
- Indentation: 4 spaces.
- Whitespace: No trailing whitespace.
- JSHint: Run JSHint. A
.jshintrc
is included. - JSBeautify An included
.jsbeautifyrc
will ensure your PR is as close to the style of this library as possible. Do use this. - Description: Please provide a full description of your changes.
- Comments: Follow existing commenting conventions.
- Parentheses: 1 space before and after parentheses.