Please don't edit files in the dist subdirectory as they are generated via npm-scripts. You'll find source code in the src subdirectory!
Regarding code style like indentation and whitespace, follow the conventions you see used in the source already.
Ensure that you have Node.js and npm installed. The best way to do it is through NVM.
- Fork and clone the repo.
- Run
npm installto install all dependencies (including grunt). - Run
npm run serveto develop while watching changes - Run
npm run distto ensure files are linted/tested and that the project builds properly
Assuming that you don't see any red, you're ready to go.
- Create a new branch, please don't work in your
masterbranch directly. - Fix stuff.
- Add examples if you are adding a new feature.
- Run
npm run distto see if there are warnings/errors. - Push to your fork and submit a pull request.