diff --git a/mithril.js b/mithril.js index f5812eef..d0f46652 100644 --- a/mithril.js +++ b/mithril.js @@ -643,7 +643,7 @@ Mithril = m = new function app(window, undefined) { return deferred } function propify(promise) { - prop = m.prop() + var prop = m.prop() promise.then(prop) prop.then = function(resolve, reject) { return propify(promise.then(resolve, reject))