diff options
| author | LV-426 <lv-426@taproot.org.il> | 2014-11-19 03:20:36 +0200 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2014-11-19 03:20:36 +0200 |
| commit | 917e4416ccfa65d4a6b92f98821d5a5c8b341054 (patch) | |
| tree | b2e36112edb7dc6f4deb81dd4edf778eb6ca34d2 /src/main.js | |
| parent | 85b5b2d1a36ea61a38e3b47267eeb60537976e4d (diff) | |
add rz_config, provide id generation scheme control: hash/seq, defaulting to seq
Diffstat (limited to 'src/main.js')
| -rw-r--r-- | src/main.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main.js b/src/main.js index 67213056..a401c1b2 100644 --- a/src/main.js +++ b/src/main.js @@ -1,5 +1,5 @@ -define(['textanalysis.ui', 'buttons', 'history', 'drag_n_drop', 'robot'], -function(textanalysis_ui, buttons, history, drag_n_drop, robot) { +define(['textanalysis.ui', 'buttons', 'history', 'drag_n_drop', 'robot', 'model/core', 'rz_config'], +function(textanalysis_ui, buttons, history, drag_n_drop, robot, model_core, rz_config) { function expand(obj){ if (!obj.savesize) { @@ -16,8 +16,10 @@ function(textanalysis_ui, buttons, history, drag_n_drop, robot) { $('#textanalyser').onkeyup = function() { expand(this); }; textanalysis_ui.main(); + + model_core.init(rz_config); } - + return { main: main }; } |
