summaryrefslogtreecommitdiff
path: root/scripts/app.js
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-11-13 17:41:57 +0200
committerLV-426 <lv-426@taproot.org.il>2014-11-13 17:41:57 +0200
commit76d1de512a58f023ae348ae8500100490fba9915 (patch)
tree87a3df058d3aaf1a3f2c408a784ffe63209cdaac /scripts/app.js
parent4a303d5a7a7e1f8327bb18a2ef3e3093a30a50b6 (diff)
rename scripts/ -> src/
Diffstat (limited to 'scripts/app.js')
-rw-r--r--scripts/app.js30
1 files changed, 0 insertions, 30 deletions
diff --git a/scripts/app.js b/scripts/app.js
deleted file mode 100644
index c5e57e39..00000000
--- a/scripts/app.js
+++ /dev/null
@@ -1,30 +0,0 @@
-(function() {
- var lib_path = '../lib/';
- var config = {
- paths: {
- jquery: lib_path + 'jquery',
- 'jquery-ui': lib_path + 'jquery-ui',
- 'd3': lib_path + 'd3/d3',
- FileSaver: lib_path + 'FileSaver',
- caret: lib_path + 'caret',
- autocomplete: lib_path + 'autocomplete',
- }
- }
-
- config.urlArgs = (typeof local_config != 'undefined') && local_config.urlArgs;
-
-if (window.is_node) {
- // Testing path only
- console.log('app: running under node');
- config.baseUrl = '../scripts/';
- window.rhizi_require_config = config;
-} else {
- // Main app path
- require.config(config);
-
- requirejs(['main'], function(main) {
- console.log('starting rhizi logic');
- main.main();
- });
-}
-}());