Last active
January 2, 2016 21:49
-
-
Save spion/8365587 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function nextRequire(prevWorkDone) { | |
if(requires.length) { | |
return stage(requires.shift(), true, options).then(function(workDone) { | |
anyWorkDone = anyWorkDone || workDone; | |
return nextRequire(); | |
}); | |
} else { | |
return work(rules, options, isChild, anyWorkDone); | |
} | |
} | |
return nextRequire(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment