summaryrefslogtreecommitdiff
path: root/scripts/textanalysis.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-10-26 18:14:00 +0200
committerAlon Levy <alon@pobox.com>2014-10-26 18:14:00 +0200
commit20e29d4746f7926045da491e4c4ec3463dfdd737 (patch)
tree939eed45c3534b4a6d2ff5ab081c3f51ac2a179f /scripts/textanalysis.js
parent5e1b9130d0ba2bd408fea1317e058bb205269718 (diff)
s/const/var/ ES6 defines const, not there yet
Diffstat (limited to 'scripts/textanalysis.js')
-rw-r--r--scripts/textanalysis.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/textanalysis.js b/scripts/textanalysis.js
index 800a741f..aa7d2e04 100644
--- a/scripts/textanalysis.js
+++ b/scripts/textanalysis.js
@@ -166,9 +166,9 @@ var textAnalyser2 = function (newtext, finalize) {
var l, n, j;
var link_hash = {};
var yell_bug = false; // TODO: fix both issues
- const NODE = "NODE";
- const LINK = "LINK";
- const START = "START";
+ var NODE = "NODE";
+ var LINK = "LINK";
+ var START = "START";
function addNode(id, type, state) {
ret.nodes.push({'id':id, 'type':type, 'state':state});