summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorportix <none@none>2013-01-17 00:20:25 +0100
committerportix <none@none>2013-01-17 00:20:25 +0100
commitf1ce5d9731bfc73325afef738ae275e84225a41d (patch)
tree0c3437f3aeeedbd5293e1ef977e2d11463bfc3bf /scripts
parent5055935a9dfa71f1ebf7a54873b997116636337c (diff)
downloaddwb-f1ce5d9731bfc73325afef738ae275e84225a41d.zip
Implemnting Deferred.always
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/dwb.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lib/dwb.js b/scripts/lib/dwb.js
index a4e61c1c..5111c9a4 100644
--- a/scripts/lib/dwb.js
+++ b/scripts/lib/dwb.js
@@ -196,6 +196,12 @@
value : function(method) {
return this.then(null, method);
}
+ },
+ "always" : {
+ value : function(method)
+ {
+ return this.then(method, method);
+ }
}
});
})();