diff options
| author | Alon Levy <alon@pobox.com> | 2014-08-06 18:19:23 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-08-06 18:19:23 +0300 |
| commit | 59beb3638838fabdb05318e807f6f2ca69b9a6b7 (patch) | |
| tree | 19344d195fd9f00e49e6ad64241460510110a339 /scripts/rhizicore.js | |
| parent | b614a0af25f19605740a6c0de2f31a4d45edb2e2 (diff) | |
rhizicore.js: add "use strict"
Diffstat (limited to 'scripts/rhizicore.js')
| -rw-r--r-- | scripts/rhizicore.js | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |
