Layout informs its views on being shown
[fnpeditor.git] / modules.js
index 1727e00..46d787e 100644 (file)
@@ -3,14 +3,16 @@ define(function(require) {
        Each module must be required explicitly by apropriate 'require' function call\r
        in order for requirejs optimizer to work.\r
     */\r
+    \r
+    'use strict';\r
+    \r
     return {\r
-        data: require('modules/data'),\r
+        data: require('modules/data/data'),\r
         rng: require('modules/rng/rng'),\r
         mainBar: require('modules/mainBar/mainBar'),\r
         indicator: require('modules/indicator/indicator'),\r
         \r
-        sourceEditor: require('modules/sourceEditor'),\r
-        visualEditor: require('modules/visualEditor'),\r
+        sourceEditor: require('modules/sourceEditor/sourceEditor'),\r
         \r
         documentCanvas: require('modules/documentCanvas/documentCanvas'),\r
         documentToolbar: require('modules/documentToolbar/documentToolbar'),\r
@@ -19,5 +21,8 @@ define(function(require) {
         nodeFamilyTree: require('modules/nodeFamilyTree/nodeFamilyTree'),\r
         nodeBreadCrumbs: require('modules/nodeBreadCrumbs/nodeBreadCrumbs'),\r
         \r
+        documentHistory: require('modules/documentHistory/documentHistory'),\r
+        diffViewer: require('modules/diffViewer/diffViewer')\r
+        \r
     }\r
 });
\ No newline at end of file