Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
authorMike Taylor <mike@indexdata.com>
Wed, 30 Jul 2014 16:59:03 +0000 (17:59 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 30 Jul 2014 16:59:03 +0000 (17:59 +0100)
src/mkws-core.js

index f09bf16..04accc8 100644 (file)
@@ -9,7 +9,9 @@
 // Set up global mkws object. Contains truly global state such as SP
 // authentication, and a hash of team objects, indexed by team-name.
 //
-var mkws = {
+// We set it as a property of window to make the global explicit as
+// some things complain about an implicit global.
+window.mkws = {
   $: $, // Our own local copy of the jQuery object
   authenticated: false,
   log_level: 1, // Will be overridden from mkws.config, but