projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3873b06
)
Make mkws object actually global. MKWS-249
author
Jason Skomorowski
<jason@indexdata.com>
Tue, 29 Jul 2014 13:16:37 +0000
(09:16 -0400)
committer
Jason Skomorowski
<jason@indexdata.com>
Tue, 29 Jul 2014 13:16:37 +0000
(09:16 -0400)
src/mkws-core.js
patch
|
blob
|
history
diff --git
a/src/mkws-core.js
b/src/mkws-core.js
index
f09bf16
..
04accc8
100644
(file)
--- 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