From 750e7c95cb3069ed352d62583fe48784064905a3 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 28 Dec 2014 13:10:08 +0200 Subject: client/textanalysis: Fixes #233 regression Still have separate paths for and links in parsing and to server. But a one liner.. --- src/client/textanalysis.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client/textanalysis.js') diff --git a/src/client/textanalysis.js b/src/client/textanalysis.js index 1e691154..8ec6c8b7 100644 --- a/src/client/textanalysis.js +++ b/src/client/textanalysis.js @@ -507,6 +507,8 @@ var textAnalyser = function (newtext, finalize) { } // drop bubble node ret.node_set_add = ret.node_set_add.filter(function(n) { return n.type != 'bubble'; }); + // drop and links + ret.link_set_add = ret.link_set_add.filter(function(l) { return l.name !== 'and'; }); graph.commit_diff__topo(ret, on_success, on_error); } -- cgit v1.3.1