diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-16 17:37:42 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-16 17:37:42 +0200 |
| commit | ade19de410e0a789a921ec1666b278b2a64176d6 (patch) | |
| tree | c4c54b106de93609ca7bb70a20fd4be696715dbe /src/app.js | |
| parent | c7d026b1d504323a8c61d51b726e5e8d2337fc4b (diff) | |
moving files around after repository merger
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/app.js b/src/app.js deleted file mode 100644 index 39acdde7..00000000 --- a/src/app.js +++ /dev/null @@ -1,31 +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', - Bacon: lib_path + 'Bacon', - } - } - - config.urlArgs = (typeof local_config != 'undefined') && local_config.urlArgs; - -if (window.is_node) { - // Testing path only - console.log('app: running under node'); - config.baseUrl = '../src/'; - window.rhizi_require_config = config; -} else { - // Main app path - require.config(config); - - requirejs(['main'], function(main) { - console.log('starting rhizi logic'); - main.main(); - }); -} -}()); |
