-
Notifications
You must be signed in to change notification settings - Fork 641
How to help fix bugs in JSON Editor
Peter Klein edited this page Dec 2, 2018
·
4 revisions
- Open "dist/jsoneditor.js" in your editor (This is the file we are going to modify during tests/bug fixing.)
- Open "src/<file>" in your editor (This is the source for the part you will be modifying in "dist/jsoneditor.js")
- Find the code in "dist/jsoneditor.js" that matches the code in "src/<file>"
- Modify the code in "dist/jsoneditor.js" (console.log() is a big help here) and perform tests until you are sure you have fixed or located the bug.
- Apply the fix/new code to "src/<file>" and build a new dist using Grunt.
- Remember to update the documentation (readme.md), If you add new features or config options. If you created a new editor type, please provide an example in the "docs/" folder.
- Test if your fix is working with the newly build dist files. If it works, commit your changes and submit a pull request.