Refactoring: cleaning directories structure
[fnpeditor.git] / entrypoint.js
diff --git a/entrypoint.js b/entrypoint.js
deleted file mode 100644 (file)
index 251151e..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-(function() {
-    'use strict';
-    
-    requirejs.config({
-        baseUrl: '/static/editor',
-        
-        map: {
-            '*':
-                {
-                    'libs/jquery': 'libs/jquery-1.9.1.min',
-                    'libs/underscore': 'libs/underscore-min',
-                    'libs/bootstrap': 'libs/bootstrap/js/bootstrap.min',
-                    'libs/backbone': 'libs/backbone-min'
-                }
-        },
-
-        shim: {
-            'libs/jquery-1.9.1.min': {
-                exports: '$',
-            },
-            'libs/underscore-min': {
-                exports: '_'
-            },
-            'libs/bootstrap/js/bootstrap.min': {
-                deps: ['libs/jquery']
-            },
-            'libs/backbone-min': {
-                exports: 'Backbone',
-                deps: ['libs/jquery', 'libs/underscore']
-            }
-        }
-
-    });
-    
-    requirejs([
-        'libs/jquery',
-        'fnpjs/runner',
-        'rng',
-        './modules',
-        'libs/bootstrap'
-    ], function($, runner, rng, modules) {
-        $(function() {
-            var app = new runner.Runner(rng, modules);
-            app.setBootstrappedData('data', RNG_BOOTSTRAP_DATA);
-            app.start({rootSelector:'#editor_root'});
-        });
-    });
-
-
-})();
\ No newline at end of file