From 282df7ca50c8fca4cbbeaf595d34d8e0fe3cdf8a Mon Sep 17 00:00:00 2001 From: sairoutine Date: Fri, 21 Oct 2016 16:00:46 +0900 Subject: [PATCH] update: not to conflict javascript reserved word --- mithril.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mithril.js b/mithril.js index 48744789..ce56663a 100644 --- a/mithril.js +++ b/mithril.js @@ -1852,7 +1852,7 @@ return propify(promise.then(resolve, reject), initialValue) } - prop.catch = prop.then.bind(null, null) + prop["catch"] = prop.then.bind(null, null) return prop } // Promiz.mithril.js | Zolmeister | MIT