Skip to content
Browse files

Merge pull request #27 from danshultz/global_leak_fix

fixing the global declaration of variable 'i' in main.js
  • Loading branch information...
2 parents 2ffa00d + cf3fe36 commit aa414d32a7f3d3cd3941fc9c67c4c52fb9228634 @mikeal committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.js
View
2 main.js
@@ -90,7 +90,7 @@ exports.watchTree = function ( root, options, callback ) {
})
}
fileWatcher(root);
- for (i in files) {
+ for (var i in files) {
fileWatcher(i);
}
callback(files, null, null);

0 comments on commit aa414d3

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