Regarding code style like indentation and whitespace, follow the conventions you see used in the source already.
Please don't edit /dist/slideout.js
and /dist/slideout.min.js
files. You'll find source code in the index.js
file.
- Fork and clone the repo.
- Run
npm install
to install all dependencies. - Create a new branch, please don't work in your
master
branch directly. - Open the file
/test/index.html
. - Code!
- Run
npm test
from your command line and check the console - Open the
/test/index.html
file to run test in your browser.
- Create a new branch, please don't work in your
master
branch directly. - Code!
- Update the tests and run
npm test
to see the tests. - Run
npm run hint
. - Run
npm run dist
to build a new version. - Update the documentation and package to reflect any changes.
- Push to your fork and submit a pull request.