kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Boot prefix should preserve $tw in the browser
This change allows raw markup tiddlers to preload configuration values into the `$tw` globalprint-window-tiddler
rodzic
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;
|
||||
|
|
Ładowanie…
Reference in New Issue