Browse Source

Switch from `let` to `var` to support older versions of node.

Afshin Darian 8 years ago
parent
commit
97a93a4731
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/watch-filter.js

+ 1 - 1
scripts/watch-filter.js

@@ -1,6 +1,6 @@
 var path = require('path');
 
 module.exports = function(f, stat) {
-    let parts = f.split(path.sep);
+    var parts = f.split(path.sep);
     return parts.indexOf('src') !== -1 || parts.indexOf('style') !== -1;
 }