@naanlang/naan 1.0.3 → 1.0.4
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 -0
- package/dist/naan.min.js +3 -3
- package/frameworks/browser/sworker.js +26 -36
- package/frameworks/browser/terminals.nlg +1 -1
- package/frameworks/browser/workers.nlg +12 -6
- package/frameworks/client/psm_client.nlg +62 -28
- package/frameworks/common/common.nlg +2 -2
- package/frameworks/node/apiserver.nlg +7 -3
- package/frameworks/node/filesystem.nlg +57 -16
- package/frameworks/node/gitter.nlg +27 -6
- package/frameworks/node/psm_server.nlg +18 -5
- package/frameworks/project/projects.nlg +4 -2
- package/lib/browser/env_web.js +3 -2
- package/lib/core/naanlib.js +3 -3
- package/package.json +2 -1
package/lib/browser/env_web.js
CHANGED
|
@@ -82,6 +82,7 @@ exports.NaanControllerWeb = function() {
|
|
|
82
82
|
var naanstate; // desired state for the interpreter
|
|
83
83
|
var replqueue; // text destined for terminal when opened
|
|
84
84
|
var termlist = []; // list of terminals currently attached
|
|
85
|
+
contSelf.termlist = termlist;
|
|
85
86
|
var prefs = { };
|
|
86
87
|
var vsiteName;
|
|
87
88
|
|
|
@@ -442,7 +443,7 @@ exports.NaanControllerWeb = function() {
|
|
|
442
443
|
statedoc.curversion = kStateCurrentVersion;
|
|
443
444
|
statedoc.firstver = kStateFirstVersion;
|
|
444
445
|
statedoc.licensee = "MIT-License";
|
|
445
|
-
statedoc.verstring = "1.0.
|
|
446
|
+
statedoc.verstring = "1.0.4-1";
|
|
446
447
|
statedoc.date = new Date().toISOString();
|
|
447
448
|
statedoc.prefs = prefs;
|
|
448
449
|
statedoc.naan = naanlib.saveState(false); // true to optimize, which is a bit slower
|
|
@@ -460,7 +461,7 @@ exports.NaanControllerWeb = function() {
|
|
|
460
461
|
|| statedoc.firstver > kStateCurrentVersion
|
|
461
462
|
|| statedoc.curversion < kStateFirstVersion
|
|
462
463
|
|| statedoc.licensee != "MIT-License"
|
|
463
|
-
|| statedoc.verstring != "1.0.
|
|
464
|
+
|| statedoc.verstring != "1.0.4-1")
|
|
464
465
|
{
|
|
465
466
|
localStorage.removeItem("NaanState_Hosted");
|
|
466
467
|
return (false);
|