update: not to conflict javascript reserved word
This commit is contained in:
parent
b128fd8232
commit
282df7ca50
1 changed files with 1 additions and 1 deletions
|
|
@ -1852,7 +1852,7 @@
|
||||||
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