Pack remoteglot.js into an anonymous function for better scoping.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 20 Nov 2013 21:36:51 +0000 (22:36 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 20 Nov 2013 21:36:51 +0000 (22:36 +0100)
www/js/remoteglot.js

index bff7a84..9a2b5fd 100644 (file)
@@ -1,3 +1,5 @@
+(function() {
+
 var board = [];
 var arrows = [];
 var arrow_targets = [];
@@ -443,3 +445,5 @@ var init = function() {
        });
 };
 $(document).ready(init);
+
+})();