1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-16 07:17:21 +00:00

Add support for utils-browser modules

This commit is contained in:
jeremy@jermolene.com
2021-02-22 12:11:39 +00:00
parent 010fa140c7
commit ef76349c37
2 changed files with 4 additions and 0 deletions

View File

@@ -22,6 +22,9 @@ exports.startup = function() {
if($tw.node) {
$tw.modules.applyMethods("utils-node",$tw.utils);
}
if($tw.browser) {
$tw.modules.applyMethods("utils-browser",$tw.utils);
}
$tw.modules.applyMethods("global",$tw);
$tw.modules.applyMethods("config",$tw.config);
$tw.Tiddler.fieldModules = $tw.modules.getModulesByTypeAsHashmap("tiddlerfield");