Reformat function syntax style to be in-line with overall style.
This commit is contained in:
parent
23930871a1
commit
a52c00fb5f
1 changed files with 2 additions and 2 deletions
|
|
@ -1055,8 +1055,8 @@ var m = (function app(window, undefined) {
|
||||||
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);
|
||||||
prop["finally"] = function(callback){
|
prop["finally"] = function(callback) {
|
||||||
var _callback = function(value){return m.deferred().resolve(callback(value)).promise;};
|
var _callback = function(value) {return m.deferred().resolve(callback(value)).promise;};
|
||||||
return prop.then(function(value) {
|
return prop.then(function(value) {
|
||||||
return propify(_callback(value).then(function() {return value;}), initialValue);
|
return propify(_callback(value).then(function() {return value;}), initialValue);
|
||||||
}, function(reason) {
|
}, function(reason) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue