Update std.js

This commit is contained in:
Namhyeon Go 2024-08-06 22:03:24 +09:00 committed by GitHub
parent eead1f8775
commit 00868b708b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -453,7 +453,7 @@ AsyncFunction.Initialize = function(exports, args) {
var target = args[1];
if (target in exports && exports[target] instanceof AsyncFunction) {
try {
exports[target].f(args);
exports[target].f(args.slice(2));
} catch (e) {
console.error("Exception on", target, e.message);
}
@ -572,7 +572,7 @@ exports.Storage = StdStorage;
exports.alert = alert;
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.global = global;
exports.require = global.require;