Commit Graph

669 Commits

Author SHA1 Message Date
jos b5ce5cb2ae Removed a redundant variable in the gulp file 2016-09-30 16:43:09 +02:00
jos adb3c6bdd9 Integrated jsonlint 2016-09-30 16:42:04 +02:00
jos 5fc5e302dc Refactored ActionMenu and AppendActionMenu 2016-09-30 13:40:14 +02:00
jos 1bcc6382aa Handle error when switching mode 2016-09-29 14:26:20 +02:00
jos 873d5f8ae2 Implemented switch mode menu 2016-09-29 14:19:01 +02:00
jos 88aed193c6 Refactored menus 2016-09-29 10:33:32 +02:00
jos 339b73fe51 Added jsonlint asset (not yet used) 2016-09-24 19:15:35 +02:00
jos d755ca9d03 Implemented patch for TextMode 2016-09-23 20:09:49 +02:00
jos 0c3faa03ea Implemented option onError 2016-09-23 19:53:57 +02:00
jos 804c68010f Implemented setMode, setText, getText 2016-09-23 19:46:04 +02:00
jos b44a465207 Implemented mode `text` 2016-09-23 14:46:59 +02:00
jos 84031dc3ef Define keys 2016-09-23 14:02:08 +02:00
jos 10e9f16b75 Removed a todo 2016-09-23 12:07:44 +02:00
jos 6db127739c Some refactoring 2016-09-23 12:01:39 +02:00
jos 75c1497de1 Minor refactoring 2016-09-23 11:53:25 +02:00
jos 54788aa593 Created immutability function `insertAt` 2016-09-23 11:41:00 +02:00
jos 2a1fabc6ac Fixed the need for try/catch around oldValue 2016-09-23 11:17:53 +02:00
jos 291cfbfa22 Improved errors. Fixed move before 2016-09-23 11:15:56 +02:00
jos 515e7a6bf2 Fixed undo move losing position 2016-09-23 09:33:27 +02:00
jos 7f979b97dd Changed the signature of `jsonToData` to pass the json value first and make the other args optional 2016-09-18 21:54:39 +02:00
jos 0a857aaad6 Simplify patch 2016-09-18 15:40:40 +02:00
jos ad36723618 Fixed `move` 2016-09-18 15:30:57 +02:00
jos c8b3bd2d7a Extra info in JSONPatch mostly working 2016-09-17 16:46:58 +02:00
jos 7b6a3747d2 Refactored 'object' and 'array' to 'Object' and 'Array' respectively 2016-09-17 15:40:17 +02:00
jos fb758d3135 Turn on uglify again 2016-09-17 15:25:26 +02:00
jos 83ae2bab07 Fixed duplicate variables 2016-09-17 15:23:31 +02:00
jos d235425f36 Some refactoring 2016-09-17 15:12:25 +02:00
jos ff7f683b11 Fixed some issues with history 2016-09-17 14:18:54 +02:00
jos de6d7c9551 Reordered functions 2016-09-16 20:39:42 +02:00
jos 611db9c431 Removed `name` from global options 2016-09-16 20:37:07 +02:00
jos 3d467e65e1 History starts to work with JSONPatch 2016-09-16 15:09:31 +02:00
jos 678db6bced Use JSONPatch actions internally 2016-09-16 14:41:51 +02:00
jos 44183e01bd More refactoring 2016-09-09 15:19:57 +02:00
jos 7adc760b33 Refactored API of `remove` and `replace` 2016-09-09 14:43:58 +02:00
jos ec63a9a759 Make `add` standalone 2016-09-09 14:30:07 +02:00
jos bb8850fb91 immutabilityHelpers don't accept non-existing paths 2016-09-09 11:43:36 +02:00
jos fe0f98dfe0 Implemented jsonpatch operations 2016-09-09 11:01:06 +02:00
jos 94671507b5 Prevent duplicate property names 2016-08-26 13:25:34 +02:00
jos 9350debba2 Fixed property names not being escaped when rendering 2016-08-26 12:25:51 +02:00
jos 7280239771 Fixed losing caret position whilst typing 2016-08-26 12:16:43 +02:00
jos ea6b00b67d Fixed build script not outputting errors 2016-08-26 09:19:15 +02:00
jos 71c38f07af Created helper function to find a unique name (not yet used) 2016-08-26 08:57:27 +02:00
jos 123b0c7cb4 Implemented simple undo/redo support 2016-08-21 14:15:30 +02:00
jos 56fc3164ec Implemented menu with expand all / collapse all buttons 2016-08-21 13:43:28 +02:00
jos 737963b908 Remove console outputs 2016-08-21 13:14:18 +02:00
jos b6d622e0d0 Fixed array/object not being rendered empty when removing the last item 2016-08-21 13:12:47 +02:00
jos c5a68b1da3 Implemented expand/collapse methods and ctrl+expand/ctrl+collapse 2016-08-21 12:45:25 +02:00
jos d8a0079032 Show placeholders when a `prop` or `value` is empty 2016-08-20 11:34:37 +02:00
jos 069d35ace4 Moved the logic for manipulating JSONData object into a separate file 2016-08-20 11:14:28 +02:00
jos c8a5614511 Renamed `watch` script to `start` 2016-08-20 10:06:18 +02:00