Skip to content

Commit

Permalink
Moved context into global
Browse files Browse the repository at this point in the history
  • Loading branch information
vash15 committed Aug 21, 2015
1 parent 8eec53a commit 24d33b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
}

}(this, function (root) {
return {};
var g = global || window;
if ( g.__context__ === void 0 )
g.__context__ = {};
return g.__context__;
}));

0 comments on commit 24d33b3

Please sign in to comment.