From 59beb3638838fabdb05318e807f6f2ca69b9a6b7 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 6 Aug 2014 18:19:23 +0300 Subject: rhizicore.js: add "use strict" --- scripts/rhizicore.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index 07c7fc5e..252abe52 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -1,3 +1,5 @@ +"use strict" + //CORE VARIABLES var addednodes = []; @@ -564,7 +566,7 @@ function myGraph(el) { } -graph = new myGraph(document.body); +var graph = new myGraph(document.body); var newnodes=1; function tick(e) { -- cgit v1.3.1