update: not to conflict javascript reserved word

This commit is contained in:
sairoutine 2016-10-21 16:00:46 +09:00
parent b128fd8232
commit 282df7ca50

View file

@ -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