use bracket syntax for reserved keyword
This commit is contained in:
parent
505d7b930d
commit
8da643c13f
1 changed files with 1 additions and 1 deletions
|
|
@ -866,7 +866,7 @@ var m = (function app(window, undefined) {
|
||||||
prop.then = function(resolve, reject) {
|
prop.then = function(resolve, reject) {
|
||||||
return propify(promise.then(resolve, reject), initialValue);
|
return propify(promise.then(resolve, reject), initialValue);
|
||||||
};
|
};
|
||||||
prop.catch = prop.then.bind(null, null);
|
prop["catch"] = prop.then.bind(null, null);
|
||||||
return prop;
|
return prop;
|
||||||
}
|
}
|
||||||
//Promiz.mithril.js | Zolmeister | MIT
|
//Promiz.mithril.js | Zolmeister | MIT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue