mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 00:45:14 +00:00
Update std.js
This commit is contained in:
parent
cfadf1e369
commit
eead1f8775
|
@ -461,7 +461,10 @@ AsyncFunction.Initialize = function(exports, args) {
|
||||||
|
|
||||||
throw new AsyncFunction.Resolved("Resolved");
|
throw new AsyncFunction.Resolved("Resolved");
|
||||||
};
|
};
|
||||||
AsyncFunction.bind = AsyncFunction.Initialize; // compatible under 0.2.7.31
|
AsyncFunction.bind = function(exports, args) { // compatible under 0.2.7.31
|
||||||
|
console.warn("AsyncFunction.bind() is deprecated. Use AsyncFunction.Initialize()");
|
||||||
|
return AsyncFunction.Initialize(exports, args);
|
||||||
|
};
|
||||||
AsyncFunction.Resolved = function(message) {
|
AsyncFunction.Resolved = function(message) {
|
||||||
this.name = "AsyncFunction.Resolved";
|
this.name = "AsyncFunction.Resolved";
|
||||||
this.message = message;
|
this.message = message;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user