Commit Graph

115 Commits

Author SHA1 Message Date
wjosdejong 0dc71badbb Fixed issue #19: retrieving the contents of the editor inside the change callback resulted in an infinite loop. Execution of the callback is done inside a try/catch loop now, to isolate the editor from errors in the callback. 2012-11-26 22:08:57 +01:00
Jos de Jong 87e674c44e Added request header 'Accept: application/json' when retrieving files from url. 2012-11-21 14:09:21 +01:00
Jos de Jong da22203848 Screenshots updated 2012-11-04 15:40:06 +01:00
Jos de Jong 0f6020851e Screenshots updated 2012-11-04 15:26:05 +01:00
Jos de Jong 04e65fe59e Use query parameters instead of url hash 2012-11-03 15:20:15 +01:00
Jos de Jong 4826a7f840 Added a timeout to loadFile 2012-11-03 15:02:36 +01:00
Jos de Jong cb85c35e1e Fix in saveFile, which appended an iframe to the body twice 2012-11-03 14:50:54 +01:00
Jos de Jong a33c8dad6b Removed usage of hash to store url 2012-11-03 14:45:32 +01:00
Jos de Jong f880e29d46 Added notifications while loading and saving files. 2012-11-03 14:35:01 +01:00
Jos de Jong 17dc325fe8 Implemeted a timeout in the fileretriever and made it more robust. 2012-11-03 13:52:28 +01:00
Jos de Jong b6311c8ad4 Editor contents are now synched to the Formatter before saving to disk 2012-11-03 11:18:38 +01:00
Jos de Jong f64138ea52 Added option 'indentation' to the JSONFormatter. 2012-11-03 10:58:48 +01:00
Jos de Jong 7778c1add1 Added parameter 'json' to the JSONFormatter constructor 2012-11-03 10:34:35 +01:00
Jos de Jong 9fd7ab38b9 Renamed options 'enableSearch' and 'enableHistory' to 'search' and 'history' respectively. 2012-11-03 10:18:24 +01:00
Jos de Jong 953ceb57b7 Created option 'change' to set a callback which is triggered when the contents are changed. 2012-11-03 10:08:58 +01:00
Jos de Jong 3f5646ac70 Improved build script (no longer writing the minified version into the source but all into the build directory) 2012-11-03 09:42:59 +01:00
Jos de Jong f5222bc4ce Download link in readme updated 2012-11-02 16:42:35 +01:00
Jos de Jong 5a9c163929 Moved the build libraries to the downloads section of github 2012-11-02 16:42:01 +01:00
Jos de Jong 18d56db063 - Implemented load/save functionality.
- Rearranged the code.
- Updated the build file accordingly
2012-10-31 22:16:07 +01:00
Jos de Jong f8a5aa472d changed the field names of the default example to lowerCamelCase (see issue #14) 2012-10-20 13:07:13 +02:00
Jos de Jong e49c0db19f fixed error pressing ESC when no Error dialog is there to hide 2012-10-19 23:34:30 +02:00
Jos de Jong 19d077810a cleanup up old chrome app stuff 2012-10-19 23:32:24 +02:00
Jos de Jong d94677b5b0 improved error messages by integrating jsonlint. 2012-10-19 23:29:03 +02:00
Jos de Jong 38f7ce61c2 replaced the paid chrome app with a free hosted chrome app 2012-10-08 21:51:35 +02:00
Jos de Jong 79fda2de6e screenshots updated 2012-10-02 21:09:05 +02:00
Jos de Jong 7e4a6868ac built version 1.5.0 2012-10-02 20:46:55 +02:00
Jos de Jong d7335714c4 Remove search results from a node removing the node 2012-10-02 20:43:45 +02:00
Jos de Jong 874d32ea2a Updated annotations 2012-10-02 20:07:36 +02:00
Jos de Jong 29b284fa35 Little tweaking of the expand/collapse icons 2012-10-01 22:42:01 +02:00
Jos de Jong 04b15d67b8 Simplified the code of updating indexes. Also only update the indexes when needed (little performance improvement). 2012-10-01 22:34:04 +02:00
Jos de Jong af08f5032e Merged method _updateStatus into updateDom. This simplifies the code. Also improved the performance by not always recursing over the childs when executing updateDom. 2012-10-01 22:22:39 +02:00
Jos de Jong 23d0a1b4e0 Descriptions updated 2012-09-30 10:22:03 +02:00
Jos de Jong 49c25d97be Fixed method Node.blur, which did not actually removed the focus from the node. Now it does. 2012-09-30 09:57:09 +02:00
Jos de Jong 40f3c2f62b Fixed a bug in undo/redo of moving an item within the same parent node. 2012-09-30 09:35:54 +02:00
Jos de Jong e50ebcb86a updated version number and changelog 2012-09-29 22:50:34 +02:00
Jos de Jong e7ff490ff0 fixed minor menu css issues, outlining of the buttons and search box 2012-09-29 22:50:16 +02:00
Jos de Jong 671a68c067 minor code improvements in the css 2012-09-29 19:40:06 +02:00
Jos de Jong 024a9cf587 created menu icons for the buttons on top of the JSONEditor and JSONFormatter 2012-09-29 19:28:54 +02:00
Jos de Jong 53da8488e9 fixed undo of deleting an item when the item was the last element of a list 2012-09-29 14:38:10 +02:00
Jos de Jong f078a17be3 fixed undo/redo of a moved item when the item was the last element of a list 2012-09-29 14:33:53 +02:00
Jos de Jong b8a6929265 implemented option enableHistory 2012-09-29 14:20:46 +02:00
Jos de Jong 244a9078f5 fixed usage of forEach on a DOM array (which is not supported) 2012-09-29 14:02:49 +02:00
Jos de Jong 5b5ee66139 Replaced most for loops with Array.forEach (and added Array.forEach implementation for IE8 compatibility) 2012-09-29 13:56:26 +02:00
Jos de Jong 32f29a9661 first basic implementation of history with undo/redo functionality 2012-09-29 11:01:17 +02:00
Jos de Jong 9d2259c3fe Implemented an onChange method which registers all user actions (needed for undo/redo functionality and to enable external onchange event listeners) 2012-09-19 22:39:14 +02:00
Jos de Jong f582b9d198 Cleaned up the code a little. 2012-09-19 21:22:46 +02:00
Jos de Jong 99c4b5196e Cleaned up the code a little 2012-09-19 21:22:35 +02:00
Jos de Jong b339a2b8c5 updated advertisement information, now linking to the paid, ad-free Chrome App. 2012-08-31 21:55:19 +02:00
Jos de Jong d12cde974a fixed issue #9: text in fields and values got wrapped in Chrome when zooming your browser 2012-08-31 21:53:42 +02:00
Jos de Jong b57e1b440f Binaries updatedfor version 1.4.3 2012-08-25 13:56:37 +02:00