summaryrefslogtreecommitdiff
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
parent4a303d5a7a7e1f8327bb18a2ef3e3093a30a50b6 (diff)
rename scripts/ -> src/
-rw-r--r--.gitignore2
-rw-r--r--index.html4
-rw-r--r--src/ScrollTo.js (renamed from scripts/ScrollTo.js)0
-rw-r--r--src/app.js (renamed from scripts/app.js)2
-rw-r--r--src/buttons.js (renamed from scripts/buttons.js)0
-rw-r--r--src/consts.js (renamed from scripts/consts.js)0
-rw-r--r--src/drag_n_drop.js (renamed from scripts/drag_n_drop.js)0
-rw-r--r--src/history.js (renamed from scripts/history.js)0
-rw-r--r--src/main.js (renamed from scripts/main.js)0
-rw-r--r--src/model/core.js (renamed from scripts/model/core.js)0
-rw-r--r--src/model/diff.js (renamed from scripts/model/diff.js)0
-rw-r--r--src/model/graph.js (renamed from scripts/model/graph.js)0
-rw-r--r--src/model/util.js (renamed from scripts/model/util.js)0
-rw-r--r--src/robot.js (renamed from scripts/robot.js)0
-rw-r--r--src/rz_api_backend.js (renamed from scripts/rz_api_backend.js)0
-rw-r--r--src/rz_api_mesh.js (renamed from scripts/rz_api_mesh.js)0
-rw-r--r--src/rz_core.js (renamed from scripts/rz_core.js)0
-rw-r--r--src/rz_observer.js (renamed from scripts/rz_observer.js)0
-rw-r--r--src/signal.js (renamed from scripts/signal.js)0
-rw-r--r--src/textanalysis.js (renamed from scripts/textanalysis.js)0
-rw-r--r--src/textanalysis.ui.js (renamed from scripts/textanalysis.ui.js)0
-rw-r--r--src/util.js (renamed from scripts/util.js)0
-rw-r--r--src/view/edge_info.js (renamed from scripts/view/edge_info.js)0
-rw-r--r--src/view/helpers.js (renamed from scripts/view/helpers.js)0
-rw-r--r--src/view/internal.js (renamed from scripts/view/internal.js)0
-rw-r--r--src/view/node_info.js (renamed from scripts/view/node_info.js)0
-rw-r--r--src/view/tab.js (renamed from scripts/view/tab.js)0
-rw-r--r--src/view/timeline.js (renamed from scripts/view/timeline.js)0
-rw-r--r--src/view/view.js (renamed from scripts/view/view.js)0
-rw-r--r--tests/base.js4
-rw-r--r--tests/output/test_analyzer.js.stdout4
-rw-r--r--tests/output/test_globals.js.stdout4
-rw-r--r--tests/output/test_require_js.js.stdout4
-rw-r--r--tests/test_app.js2
-rw-r--r--tests/test_globals.js2
-rw-r--r--tests/test_require_js.js2
36 files changed, 15 insertions, 15 deletions
diff --git a/.gitignore b/.gitignore
index 8a403040..a3abca6b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,4 @@
Rhizi Prototype1_files/
.idea/
-scripts/local_config.js
+src/local_config.js
diff --git a/index.html b/index.html
index 35308ae1..d2978099 100644
--- a/index.html
+++ b/index.html
@@ -8,8 +8,8 @@
<link rel="shortcut icon" href="res/img/favicon2.ico" />
- <script src="scripts/local_config.js"></script>
- <script data-main='scripts/app.js' src="lib/require.js"></script>
+ <script src="src/local_config.js"></script>
+ <script data-main='src/app.js' src="lib/require.js"></script>
</head>
diff --git a/scripts/ScrollTo.js b/src/ScrollTo.js
index a015f08c..a015f08c 100644
--- a/scripts/ScrollTo.js
+++ b/src/ScrollTo.js
diff --git a/scripts/app.js b/src/app.js
index c5e57e39..db2b87ab 100644
--- a/scripts/app.js
+++ b/src/app.js
@@ -16,7 +16,7 @@
if (window.is_node) {
// Testing path only
console.log('app: running under node');
- config.baseUrl = '../scripts/';
+ config.baseUrl = '../src/';
window.rhizi_require_config = config;
} else {
// Main app path
diff --git a/scripts/buttons.js b/src/buttons.js
index 500d56fc..500d56fc 100644
--- a/scripts/buttons.js
+++ b/src/buttons.js
diff --git a/scripts/consts.js b/src/consts.js
index 0c2af53b..0c2af53b 100644
--- a/scripts/consts.js
+++ b/src/consts.js
diff --git a/scripts/drag_n_drop.js b/src/drag_n_drop.js
index da166ad4..da166ad4 100644
--- a/scripts/drag_n_drop.js
+++ b/src/drag_n_drop.js
diff --git a/scripts/history.js b/src/history.js
index b46dd260..b46dd260 100644
--- a/scripts/history.js
+++ b/src/history.js
diff --git a/scripts/main.js b/src/main.js
index 67213056..67213056 100644
--- a/scripts/main.js
+++ b/src/main.js
diff --git a/scripts/model/core.js b/src/model/core.js
index 43a87b5d..43a87b5d 100644
--- a/scripts/model/core.js
+++ b/src/model/core.js
diff --git a/scripts/model/diff.js b/src/model/diff.js
index 1bcfc5a2..1bcfc5a2 100644
--- a/scripts/model/diff.js
+++ b/src/model/diff.js
diff --git a/scripts/model/graph.js b/src/model/graph.js
index 820daef0..820daef0 100644
--- a/scripts/model/graph.js
+++ b/src/model/graph.js
diff --git a/scripts/model/util.js b/src/model/util.js
index 43fa66db..43fa66db 100644
--- a/scripts/model/util.js
+++ b/src/model/util.js
diff --git a/scripts/robot.js b/src/robot.js
index 700e41b6..700e41b6 100644
--- a/scripts/robot.js
+++ b/src/robot.js
diff --git a/scripts/rz_api_backend.js b/src/rz_api_backend.js
index df162225..df162225 100644
--- a/scripts/rz_api_backend.js
+++ b/src/rz_api_backend.js
diff --git a/scripts/rz_api_mesh.js b/src/rz_api_mesh.js
index 9014dbac..9014dbac 100644
--- a/scripts/rz_api_mesh.js
+++ b/src/rz_api_mesh.js
diff --git a/scripts/rz_core.js b/src/rz_core.js
index 7b56d41b..7b56d41b 100644
--- a/scripts/rz_core.js
+++ b/src/rz_core.js
diff --git a/scripts/rz_observer.js b/src/rz_observer.js
index 4fe6385f..4fe6385f 100644
--- a/scripts/rz_observer.js
+++ b/src/rz_observer.js
diff --git a/scripts/signal.js b/src/signal.js
index e5888b4c..e5888b4c 100644
--- a/scripts/signal.js
+++ b/src/signal.js
diff --git a/scripts/textanalysis.js b/src/textanalysis.js
index 4cff49bc..4cff49bc 100644
--- a/scripts/textanalysis.js
+++ b/src/textanalysis.js
diff --git a/scripts/textanalysis.ui.js b/src/textanalysis.ui.js
index 0be87f64..0be87f64 100644
--- a/scripts/textanalysis.ui.js
+++ b/src/textanalysis.ui.js
diff --git a/scripts/util.js b/src/util.js
index 3113474b..3113474b 100644
--- a/scripts/util.js
+++ b/src/util.js
diff --git a/scripts/view/edge_info.js b/src/view/edge_info.js
index 9652839c..9652839c 100644
--- a/scripts/view/edge_info.js
+++ b/src/view/edge_info.js
diff --git a/scripts/view/helpers.js b/src/view/helpers.js
index be0e289e..be0e289e 100644
--- a/scripts/view/helpers.js
+++ b/src/view/helpers.js
diff --git a/scripts/view/internal.js b/src/view/internal.js
index bc18bd75..bc18bd75 100644
--- a/scripts/view/internal.js
+++ b/src/view/internal.js
diff --git a/scripts/view/node_info.js b/src/view/node_info.js
index d455b366..d455b366 100644
--- a/scripts/view/node_info.js
+++ b/src/view/node_info.js
diff --git a/scripts/view/tab.js b/src/view/tab.js
index 97ba1351..97ba1351 100644
--- a/scripts/view/tab.js
+++ b/src/view/tab.js
diff --git a/scripts/view/timeline.js b/src/view/timeline.js
index b7443551..b7443551 100644
--- a/scripts/view/timeline.js
+++ b/src/view/timeline.js
diff --git a/scripts/view/view.js b/src/view/view.js
index 95bfc09b..95bfc09b 100644
--- a/scripts/view/view.js
+++ b/src/view/view.js
diff --git a/tests/base.js b/tests/base.js
index 72ce28b4..7552c694 100644
--- a/tests/base.js
+++ b/tests/base.js
@@ -46,8 +46,8 @@ function run_tests(settings) {
settings.created(undefined, window);
}
debugger
- addScript(window, '../scripts/external/require.js')
- .load_next('../scripts/app.js')
+ addScript(window, '../src/external/require.js')
+ .load_next('../src/app.js')
.done(function () {
console.log('test harness: starting script loading with requirejs');
window.require.config(window.rhizi_require_config);
diff --git a/tests/output/test_analyzer.js.stdout b/tests/output/test_analyzer.js.stdout
index 82db6dce..7e15edcb 100644
--- a/tests/output/test_analyzer.js.stdout
+++ b/tests/output/test_analyzer.js.stdout
@@ -1,6 +1,6 @@
-addScript: loaded ../scripts/external/require.js
+addScript: loaded ../src/external/require.js
app: running under node
-addScript: loaded ../scripts/app.js
+addScript: loaded ../src/app.js
test harness: starting script loading with requirejs
test harness: main loaded
Rhizi main started
diff --git a/tests/output/test_globals.js.stdout b/tests/output/test_globals.js.stdout
index a6b915ca..9aa7f822 100644
--- a/tests/output/test_globals.js.stdout
+++ b/tests/output/test_globals.js.stdout
@@ -1,7 +1,7 @@
before fields count: 187
-addScript: loaded ../scripts/external/require.js
+addScript: loaded ../src/external/require.js
app: running under node
-addScript: loaded ../scripts/app.js
+addScript: loaded ../src/app.js
test harness: starting script loading with requirejs
test harness: main loaded
Rhizi main started
diff --git a/tests/output/test_require_js.js.stdout b/tests/output/test_require_js.js.stdout
index 821c4a6d..82ea089e 100644
--- a/tests/output/test_require_js.js.stdout
+++ b/tests/output/test_require_js.js.stdout
@@ -1,4 +1,4 @@
-addScript: loaded ../scripts/external/require.js
+addScript: loaded ../src/external/require.js
test_app: running under node
addScript: loaded test_app.js
callback after test_app.js loading
@@ -9,7 +9,7 @@ callback after test_app.js loading
d3: 'external/d3/d3',
autocomplete: 'external/autocomplete',
FileSaver: 'external/FileSaver' },
- baseUrl: '../scripts/' }
+ baseUrl: '../src/' }
hello from test factory
here we are after test_app prerequisites
42
diff --git a/tests/test_app.js b/tests/test_app.js
index 91f6b6cd..6696c1fc 100644
--- a/tests/test_app.js
+++ b/tests/test_app.js
@@ -26,7 +26,7 @@ define('test', function() {
});
console.log('test_app: running under node');
-config.baseUrl = '../scripts/';
+config.baseUrl = '../src/';
document.config = config;
}());
diff --git a/tests/test_globals.js b/tests/test_globals.js
index afd79ecf..03dd1cf9 100644
--- a/tests/test_globals.js
+++ b/tests/test_globals.js
@@ -1,5 +1,5 @@
var base = require('./base');
-var util = require('../scripts/util');
+var util = require('../src/util');
var count;
diff --git a/tests/test_require_js.js b/tests/test_require_js.js
index 9cecc019..aa71018e 100644
--- a/tests/test_require_js.js
+++ b/tests/test_require_js.js
@@ -6,7 +6,7 @@ var addScript = require('./test_util').addScript;
window.console.log = console.log;
window.is_node = true;
-addScript(window, '../scripts/external/require.js')
+addScript(window, '../src/external/require.js')
.load_next('test_app.js')
.done(function () {
var config = document.config