mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-13 21:21:03 +00:00
Update std.js
This commit is contained in:
parent
157d723b44
commit
ce0fe9f393
|
@ -335,6 +335,7 @@ function AsyncFunction(f) {
|
||||||
sleep(1, this.f);
|
sleep(1, this.f);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this.runSynchronously = function() {
|
this.runSynchronously = function() {
|
||||||
return this.f.apply(null, arguments);
|
return this.f.apply(null, arguments);
|
||||||
};
|
};
|
||||||
|
@ -360,7 +361,7 @@ global.splitLn = splitLn;
|
||||||
global.addslashes = addslashes;
|
global.addslashes = addslashes;
|
||||||
global.AsyncFunction = AsyncFunction;
|
global.AsyncFunction = AsyncFunction;
|
||||||
|
|
||||||
exports.VERSIONINFO = "Standard Lib (std.js) version 0.5";
|
exports.VERSIONINFO = "Standard Library (std.js) version 0.6";
|
||||||
exports.global = global;
|
exports.global = global;
|
||||||
exports.require = global.require;
|
exports.require = global.require;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user