Thanks for contributing to Converse.js.
Please follow the usual github workflow. Create your own local fork of this repository, make your changes and then submit a pull request.
Add a test for any bug fixed or feature added. We use Jasmine for testing.
Take a look at tests.html and spec/MainSpec.js to see how
the tests are implemented.
If you are unsure how to write tests, please contact me and I'll be happy to help.
Check that the Jasmine tests complete sucessfully. Open tests.html in your browser, and the tests will run automatically.
On the command line you can run grunt test (if you have before run npm
install).
If you haven't yet done so, run npm install to install all development
dependencies.
Then run grunt jshint and check the output.