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
committerAlon Levy <alon@pobox.com>2014-11-19 23:21:42 +0200
commit3d6d92ecacc3a26bb888541eafc66151a6d2de63 (patch)
treec366aa486013ff8c2a66112e133450b9827d0f4f /src/textanalysis.js
parenta2c1a7b364bc9d1092aaa4af095b495f0da1384f (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');