Skip to content

Loading…

fixing the global declaration of variable 'i' in main.js #27

Merged
merged 1 commit into from

2 participants

@danshultz

"i" was declared in a loop without first scoping it locally - minor fix.

@mikeal mikeal merged commit aa414d3 into mikeal:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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);
Something went wrong with that request. Please try again.