Skip to content

Commit

Permalink
implementing sequential helper
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell committed Dec 4, 2011
1 parent ca26ef0 commit ebc5e08
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/tbd.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.