From 20e29d4746f7926045da491e4c4ec3463dfdd737 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 26 Oct 2014 18:14:00 +0200 Subject: s/const/var/ ES6 defines const, not there yet --- scripts/textanalysis.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') 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}); -- cgit v1.3.1