mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-30 23:36:56 +00:00
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:
parent
5dd6ebff05
commit
67db9d57a2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user