From ae8b820b96ab4e5a4b2551157f23724b3702c891 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 20 Nov 2013 22:36:51 +0100 Subject: [PATCH] Pack remoteglot.js into an anonymous function for better scoping. --- www/js/remoteglot.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index bff7a84..9a2b5fd 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -1,3 +1,5 @@ +(function() { + var board = []; var arrows = []; var arrow_targets = []; @@ -443,3 +445,5 @@ var init = function() { }); }; $(document).ready(init); + +})(); -- 2.39.2