X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/24bdad40e7bc8e92fba081cee6bce0aa73db1261..0fbb8e87c499516530c1d6ce54b1bd7ebc845c7b:/modules.js?ds=sidebyside diff --git a/modules.js b/modules.js index 309faf1..bb4d439 100644 --- a/modules.js +++ b/modules.js @@ -1,14 +1,28 @@ -define(function(require) { - /* - Each module must be required explicitly by apropriate 'require' function call - in order for requirejs optimizer to work. - */ - return { - data: require('modules/data'), - rng: require('modules/rng'), - skelton: require('modules/skelton'), - sourceEditor: require('modules/sourceEditor'), - tabsManager: require('modules/tabsManager'), - visualEditor: require('modules/visualEditor'), - } +define(function(require) { + /* + Each module must be required explicitly by apropriate 'require' function call + in order for requirejs optimizer to work. + */ + + 'use strict'; + + return { + data: require('modules/data/data'), + rng: require('modules/rng/rng'), + mainBar: require('modules/mainBar/mainBar'), + indicator: require('modules/indicator/indicator'), + + sourceEditor: require('modules/sourceEditor/sourceEditor'), + + documentCanvas: require('modules/documentCanvas/documentCanvas'), + documentToolbar: require('modules/documentToolbar/documentToolbar'), + nodePane: require('modules/nodePane/nodePane'), + metadataEditor: require('modules/metadataEditor/metadataEditor'), + nodeFamilyTree: require('modules/nodeFamilyTree/nodeFamilyTree'), + nodeBreadCrumbs: require('modules/nodeBreadCrumbs/nodeBreadCrumbs'), + + documentHistory: require('modules/documentHistory/documentHistory'), + diffViewer: require('modules/diffViewer/diffViewer') + + } }); \ No newline at end of file