summaryrefslogtreecommitdiff
path: root/src/textanalysis.js
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-11-17 13:32:29 +0200
committerLV-426 <lv-426@taproot.org.il>2014-11-17 13:32:29 +0200
commit98432d1e0f9454641c5e923f3916780d6adb91dc (patch)
tree4811ab12405f400509af50bd5abc90758556e32c /src/textanalysis.js
parent5646c96714c102be2bda3dc3bfa03a1da737d1a5 (diff)
new_topo_diff() default constructor - add node_set_add, link_set_add arrays
Diffstat (limited to 'src/textanalysis.js')
-rw-r--r--src/textanalysis.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/textanalysis.js b/src/textanalysis.js
index a3e8e83d..fa195a72 100644
--- a/src/textanalysis.js
+++ b/src/textanalysis.js
@@ -1,7 +1,7 @@
"use strict";
-define(['rz_core', 'model/util', 'model/diff'],
-function(rz_core, model_util, model_diff) {
+define(['rz_core', 'model/core', 'model/util', 'model/diff'],
+function(rz_core, model_core, model_util, model_diff) {
var typeindex = 0;
var nodetypes = ["person", "project", "skill", "deliverable", "objective"];
@@ -168,6 +168,8 @@ var textAnalyser = function (newtext, finalize) {
LINK = "LINK",
START = "START";
+ var ret = model_diff.new_topo_diff();
+
function addNode(name, type, state) {
if (type === undefined) {
console.log('bug: textanalyser.addNode of type undefined');