Boot prefix should preserve $tw in the browser

This change allows raw markup tiddlers to preload configuration values
into the `$tw` global
This commit is contained in:
Jermolene 2014-10-06 10:02:20 +01:00
parent 5dd6ebff05
commit 67db9d57a2
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ return $tw
if(typeof(exports) === "undefined") {
// Set up $tw global for the browser
window.$tw = _bootprefix();
window.$tw = _bootprefix(window.$tw);
} else {
// Export functionality as a module
exports.bootprefix = _bootprefix;