From a52c00fb5f3a18dcc202cab4555ca25fd0e483f5 Mon Sep 17 00:00:00 2001 From: Derrick Gilland Date: Mon, 27 Jul 2015 10:38:21 -0400 Subject: [PATCH] Reformat function syntax style to be in-line with overall style. --- mithril.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mithril.js b/mithril.js index 080c6052..dba767eb 100644 --- a/mithril.js +++ b/mithril.js @@ -1055,8 +1055,8 @@ var m = (function app(window, undefined) { return propify(promise.then(resolve, reject), initialValue); }; prop["catch"] = prop.then.bind(null, null); - prop["finally"] = function(callback){ - var _callback = function(value){return m.deferred().resolve(callback(value)).promise;}; + prop["finally"] = function(callback) { + var _callback = function(value) {return m.deferred().resolve(callback(value)).promise;}; return prop.then(function(value) { return propify(_callback(value).then(function() {return value;}), initialValue); }, function(reason) {