Skip to content

Commit

Permalink
making non depth iterate work
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbmeyer committed Jul 26, 2012
1 parent 062f334 commit 6c32811
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions build/open/open.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,15 @@ steal('steal',function(s){
// load all these steals, and their dependencies
loadset(steals, CB, depth, includeFns);

// load any dependencies
loadset(curStl.dependencies, CB, depth, includeFns);
// probably needs to change if depth
touch([curStl], CB)
if(depth){
// load any dependencies
loadset(curStl.dependencies, CB, depth, includeFns);
// probably needs to change if depth
touch([curStl], CB)
} else {
touch([curStl], CB);
loadset(curStl.dependencies, CB, depth, includeFns);
}
i=0;
}else{
i++;
Expand Down

0 comments on commit 6c32811

Please sign in to comment.