Skip to content
Browse files

mark: trying async loop

  • Loading branch information...
1 parent 059a309 commit bce147e7491f06098ee7096e9e6e3cd8bb53fdef @mneedham mneedham committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 pairstair.js
View
6 pairstair.js
@@ -155,6 +155,10 @@ var PairStair = function () {
}
};
+ function asyncLoop(collection, loopFn, completionFn) {
+
+ }
+
var daysSinceLastPaired = (function () {
var today = new Date();
today.setHours(0,0,0,0);
@@ -162,7 +166,7 @@ var PairStair = function () {
return function(dateLastPaired) {
return (today - new Date(dateLastPaired)) / (1000*60*60*24);
};
- }());
+ })();
function parsePairs(data) {

0 comments on commit bce147e

Please sign in to comment.
Something went wrong with that request. Please try again.