From 199b8fb6fda2e04732bbf97b46cf8577b5e6895c Mon Sep 17 00:00:00 2001 From: Jason Skomorowski Date: Tue, 29 Jul 2014 09:16:37 -0400 Subject: [PATCH] Make mkws object actually global. MKWS-249 --- src/mkws-core.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mkws-core.js b/src/mkws-core.js index f09bf16..04accc8 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -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 -- 1.7.10.4