This document briefly lists the guidelines for contributing to JSON Editor.
When creating an issue in GitHub, try to include when feasible:
If you can reproduce the issue on the demo page (http://jeremydorn.com/json-editor/), it's helpful to attach the "Direct Link" url (top right of page). Note: the direct link might not work for very large schemas or JSON values.
One of the major goals of JSON Editor is to be easy to modify and hack.
If you fix a bug or add a cool feature, please submit a pull request!
The easiest way to hack on JSON Editor is to run grunt watch
, which
re-builds dist/jsoneditor.js
every time a source file changes.
To do a full grunt build which includes jshint and minification, run grunt
.
Try to limit pull requests to a single narrow feature or bug fix.
Do not submit dist/
files!
The following is done when a pull request is accepted. There is no need to do any of these steps yourself.
src/intro.js
and bower.json
. Set date in src/intro.js
.dist/
files with gruntSometimes, multiple pull requests will be merged before doing steps 2-5.