diff options
| author | LV-426 <lv-426@taproot.org.il> | 2014-11-13 17:41:57 +0200 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2014-11-13 17:41:57 +0200 |
| commit | 76d1de512a58f023ae348ae8500100490fba9915 (patch) | |
| tree | 87a3df058d3aaf1a3f2c408a784ffe63209cdaac /scripts/app.js | |
| parent | 4a303d5a7a7e1f8327bb18a2ef3e3093a30a50b6 (diff) | |
rename scripts/ -> src/
Diffstat (limited to 'scripts/app.js')
| -rw-r--r-- | scripts/app.js | 30 |
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(); - }); -} -}()); |
