Commit Graph

27 Commits

Author SHA1 Message Date
josdejong b12d20e341 Fixed: In mode 'viewer' and 'form' are the read-only fields no longer highlighted on mouse hover. 2013-01-05 23:17:48 +01:00
josdejong ebcc837aa2 Added support for RequireJS and CommonJS. Wrapped the libary in a closure. 2013-01-05 22:19:10 +01:00
josdejong df367e62a7 Reorganized the namespacing, moved to jsoneditor.*. More consistent, and will make it easier to pack the library as a module. 2013-01-05 14:32:40 +01:00
josdejong 2a64d5315e Splitted jsoneditor.js and jsoneditor.css into multiple source files. Rearranged the folders a little, and updated the build script. 2013-01-01 20:54:07 +01:00
josdejong fcc825ec30 Replaced the default json document with a more boring, generic example. 2012-12-30 15:04:14 +01:00
josdejong 352f22084d All utility methods moved to namespace JSONEditor.util 2012-12-30 13:43:00 +01:00
josdejong 03c8802859 Implemented history (undo/redo) for the sort action. Updated version number. 2012-12-19 19:22:09 +01:00
josdejong fc3d1699a6 Floating context menu created for the action buttons (instead of having them fixed on the right side of each of the nodes) 2012-12-17 21:26:25 +01:00
josdejong 7710abd0b7 Floating context menu created for the action buttons (instead of having them fixed on the right side of each of the nodes) 2012-12-17 21:21:31 +01:00
josdejong 76e98ce95f Implemented read-only mode (new options.mode with values 'editor' and 'viewer'). See issue #24. 2012-12-06 09:02:00 +01:00
wjosdejong 98f4b0c2fb Urls to the github project updated (changed username from wjosdejong to josdejong) 2012-12-05 15:12:44 +01:00
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 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 18d56db063 - Implemented load/save functionality.
- Rearranged the code.
- Updated the build file accordingly
2012-10-31 22:16:07 +01:00
Jos de Jong 19d077810a cleanup up old chrome app stuff 2012-10-19 23:32:24 +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 e50ebcb86a updated version number and changelog 2012-09-29 22:50:34 +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 958c85ddcf Chrome App created 2012-08-25 13:54:57 +02:00