mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-14 05:31:03 +00:00
Update std.js
This commit is contained in:
parent
eead1f8775
commit
00868b708b
|
@ -453,7 +453,7 @@ AsyncFunction.Initialize = function(exports, args) {
|
||||||
var target = args[1];
|
var target = args[1];
|
||||||
if (target in exports && exports[target] instanceof AsyncFunction) {
|
if (target in exports && exports[target] instanceof AsyncFunction) {
|
||||||
try {
|
try {
|
||||||
exports[target].f(args);
|
exports[target].f(args.slice(2));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("Exception on", target, e.message);
|
console.error("Exception on", target, e.message);
|
||||||
}
|
}
|
||||||
|
@ -572,7 +572,7 @@ exports.Storage = StdStorage;
|
||||||
exports.alert = alert;
|
exports.alert = alert;
|
||||||
exports.confirm = confirm;
|
exports.confirm = confirm;
|
||||||
|
|
||||||
exports.VERSIONINFO = "WelsonJS Standard Library (std.js) version 0.8.6";
|
exports.VERSIONINFO = "WelsonJS Standard Library (std.js) version 0.8.7";
|
||||||
exports.AUTHOR = "abuse@catswords.net";
|
exports.AUTHOR = "abuse@catswords.net";
|
||||||
exports.global = global;
|
exports.global = global;
|
||||||
exports.require = global.require;
|
exports.require = global.require;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user