1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-15 23:07:18 +00:00

Refine node vs. browser behaviour

Now we’re using TiddlyWiki as the core of TiddlyDesktop we need more
granular control of the platform specific code.
This commit is contained in:
Jermolene
2014-12-18 19:52:15 +00:00
parent b1c5d7694e
commit d2c4920ba4
3 changed files with 12 additions and 19 deletions

View File

@@ -19,7 +19,7 @@ exports.synchronous = true;
exports.startup = function() {
// Load modules
$tw.modules.applyMethods("utils",$tw.utils);
if($tw.node && !$tw.browser) {
if($tw.node) {
$tw.modules.applyMethods("utils-node",$tw.utils);
}
$tw.modules.applyMethods("global",$tw);