@naanlang/naan 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/bin/index.js +2 -2
- package/dist/env_web.js +1 -1
- package/dist/naan.min.js +3 -3
- package/frameworks/browser/sworker.js +23 -23
- package/frameworks/common/common.nlg +16 -3
- package/frameworks/node/apiserver.nlg +15 -1
- package/frameworks/project/build.nlg +2 -0
- package/frameworks/project/projects.nlg +1 -1
- package/lib/browser/env_web.js +7 -7
- package/lib/core/naanlib.js +3 -3
- package/package.json +1 -1
- package/test/test_03_jsinterop.nlg +2 -2
- package/test/test_04_numerics.nlg +170 -2
package/LICENSE.md
CHANGED
package/README.md
CHANGED
package/bin/index.js
CHANGED
|
@@ -58,11 +58,11 @@ process.argv.every((val, index) => {
|
|
|
58
58
|
return (true);
|
|
59
59
|
}
|
|
60
60
|
if (val == "--version") {
|
|
61
|
-
console.log("1.3.
|
|
61
|
+
console.log("1.3.1");
|
|
62
62
|
process.exit(0);
|
|
63
63
|
}
|
|
64
64
|
if (val == "--buildno") {
|
|
65
|
-
console.log("1.3.
|
|
65
|
+
console.log("1.3.1+1");
|
|
66
66
|
process.exit(0);
|
|
67
67
|
}
|
|
68
68
|
if (val.substring(0,1) == "-") {
|
package/dist/env_web.js
CHANGED
|
@@ -640,7 +640,7 @@ exports.NaanControllerWeb = function() {
|
|
|
640
640
|
if (querystrings["restart"] || !loadLocal())
|
|
641
641
|
{ // don't load state or can't load state
|
|
642
642
|
naanlib.banner();
|
|
643
|
-
var hostpath = naanlib.js.r("path").dirname(window.location.
|
|
643
|
+
var hostpath = window.location.origin.concat(naanlib.js.r("path").dirname(window.location.pathname));
|
|
644
644
|
naanlib.start({
|
|
645
645
|
cmd: 'App.version = "$Version$";;\r\n'
|
|
646
646
|
+ 'App.cache = "$CacheBuster$";;\r\n'
|