Permalink
Browse files

this adds a finally command to work as advertised in my ticket here

  • Loading branch information...
1 parent b4dc7bd commit 70328a7bd93d5a97b5ae72f96fece60f0ca0a5c8 @FugueNation committed Oct 20, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 index.js
View
@@ -152,7 +152,9 @@ function builder (saw, xs) {
saw.next();
};
- [ 'seq', 'par' ].forEach(function (name) {
+ this['finally'] = this.seq;
+
+ [ 'seq', 'par', 'finally' ].forEach(function (name) {
this[name + '_'] = function (key) {
var args = [].slice.call(arguments);

0 comments on commit 70328a7

Please sign in to comment.