Permalink
Browse files

implementing sequential helper

  • Loading branch information...
1 parent ca26ef0 commit ebc5e08ca2b3a06bdbc29692d8e52c60e4ef7f52 @aaronpowell committed Dec 4, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/tbd.js
View
@@ -130,5 +130,13 @@
};
};
+ utils.sequential = function(start) {
+ return function () {
+ var x = start;
+ start++;
+ return x;
+ };
+ };
+
this.tbd.utils = utils;
}).call(this);

0 comments on commit ebc5e08

Please sign in to comment.