diff --git a/app.js b/app.js index 499aa5a..d70f48b 100644 --- a/app.js +++ b/app.js @@ -219,7 +219,7 @@ function require(FN) { var basepath = getCurrentScriptDirectory(); var filepaths = [ path.join(basepath, FN), // WelsonJS base library - path.join(basepath, "Scripts", FN) // NuGet + path.join(basepath, "Scripts", FN), // NuGet path.join(basepath, "bower_components", FN), // Bower path.join(basepath, "node_modules", FN), // NPM ]; diff --git a/helloworld.js b/helloworld.js index 71ed85c..b5ab6cb 100644 --- a/helloworld.js +++ b/helloworld.js @@ -1,5 +1,8 @@ function main(args) { console.log("Hello world"); + if (typeof WScript !== "undefined") { + console.log("Runtime version:", WScript.Version); + } } exports.main = main; \ No newline at end of file