diff --git a/core/modules/startup/load-modules.js b/core/modules/startup/load-modules.js index d9ae92269..6dc703111 100644 --- a/core/modules/startup/load-modules.js +++ b/core/modules/startup/load-modules.js @@ -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); diff --git a/core/modules/utils/utils.js b/core/modules/utils/utils.js index a11d4c554..3a5c04ce0 100644 --- a/core/modules/utils/utils.js +++ b/core/modules/utils/utils.js @@ -524,29 +524,22 @@ exports.isValidFieldName = function(name) { Extract the version number from the meta tag or from the boot file */ -if($tw.browser) { - // Browser version exports.extractVersionInfo = function() { - var metatags = document.getElementsByTagName("meta"); - for(var t=0; t