diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-28 13:10:08 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-28 13:10:10 +0200 |
| commit | 750e7c95cb3069ed352d62583fe48784064905a3 (patch) | |
| tree | f1756314b6bcd77677971da01781c5f69c9ae023 /src/client | |
| parent | 99167ae61a6f8331de84874d183b7d3882cc30ac (diff) | |
client/textanalysis: Fixes #233 regression
Still have separate paths for and links in parsing and to server. But a
one liner..
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/textanalysis.js | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |
