smartxml: minor refactoring to improve clarity
[fnpeditor.git] / src / editor / modules.js
1 define(function(require) {
2     /*
3        Each module must be required explicitly by apropriate 'require' function call
4        in order for requirejs optimizer to work.
5     */
6     
7     'use strict';
8     
9     return {
10         data: require('modules/data/data'),
11         rng: require('modules/rng/rng'),
12         mainBar: require('modules/mainBar/mainBar'),
13         statusBar: require('modules/statusBar/statusBar'),
14         indicator: require('modules/indicator/indicator'),
15         
16         sourceEditor: require('modules/sourceEditor/sourceEditor'),
17         
18         documentCanvas: require('modules/documentCanvas/documentCanvas'),
19         documentToolbar: require('modules/documentToolbar/documentToolbar'),
20         nodePane: require('modules/nodePane/nodePane'),
21         metadataEditor: require('modules/metadataEditor/metadataEditor'),
22         nodeFamilyTree: require('modules/nodeFamilyTree/nodeFamilyTree'),
23         nodeBreadCrumbs: require('modules/nodeBreadCrumbs/nodeBreadCrumbs'),
24         
25         documentHistory: require('modules/documentHistory/documentHistory'),
26         diffViewer: require('modules/diffViewer/diffViewer')
27         
28     };
29 });