diff --git a/mithril.js b/mithril.js index eba9b40c..e9592f99 100644 --- a/mithril.js +++ b/mithril.js @@ -866,7 +866,7 @@ var m = (function app(window, undefined) { prop.then = function(resolve, reject) { 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