When reporting a bug please provide all the information needed to quickly reproduce the problem.
This includes:
- The browser & version used
- A URL to reproduce the error
- Other steps other necessary to reproduce the error
If I can't reproduce your problem it will likely not get fixed.
To avoid wasting your time please communicate before starting to hack on a new feature / change. Creating an issue describing your plans is a good start.
- Try to make your code look like the code around it.
- Provide tests where appropriate.
- Run eslint & prettier on the files you changed, fix any issues related to your changes.
- Run the tests, make sure they are green
- Reformat my code to fit your personal preferences.
By contributing your code, you agree to license your contribution under the MIT License.
Before you can start working you'll need to have node.js and git installed.
$ git clone
$ cd normalmap.js
$ npm install -g grunt jshint jscs
$ npm install
$ grunt
I work on GNU/Linux. Things might not work on windows.
The tests for smartcrop are fairly simplistic at the moment.
You can run them by opening the /test/
folder after running grunt
.
The tests show the actual output next to the expected output and a diff.
None. Just be who you are.