Commit Graph

685 Commits

Author SHA1 Message Date
jos 9d05195aec Moved large json from develop.html in a separate file 2016-10-28 09:39:47 +02:00
jos 25ecb2dfab Added example synchronizing two editors 2016-10-28 09:36:05 +02:00
jos a399aef0ea Updated dependencies 2016-10-22 10:28:50 +02:00
jos f6dfe874db Fixed action menu of root node not working 2016-10-17 20:38:35 +02:00
jos dc8bb9349c Ignore `dist` folder 2016-10-14 17:47:27 +02:00
jos 30aa73d3a3 Dropped support for bower (don't commit bundles anymore) 2016-10-14 17:46:00 +02:00
jos 3b1a5c2d24 Hide undo/redo menu items when in mode 'view'. Updated some examples 2016-10-14 17:30:16 +02:00
jos 6cf85d2ce9 Implemented mode form 2016-10-14 17:10:09 +02:00
jos 482720b28c Implemented mode `view` 2016-10-14 16:05:52 +02:00
jos bb62795b6b Add graceful-fs (else yarn doesn't work) 2016-10-14 15:06:52 +02:00
jos bde1c9c4d1 Fixed broken build script 2016-10-14 14:59:46 +02:00
jos 1cad4fc8ea Implemented `onChangeText` 2016-10-14 13:46:15 +02:00
jos 5ff41f2d9d Implemented mode `code` (using ace editor) 2016-10-14 12:28:33 +02:00
jos a607d2c2f4 Improved watch script 2016-10-14 09:54:37 +02:00
jos ceea59b30d Aways package jsonlint, it's essential. Also some small fixes. 2016-09-30 17:05:23 +02:00
jos ae90077ed6 Removed semi colons 2016-09-30 16:51:43 +02:00
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