diff options
author | Jose <jose@zeroc.com> | 2017-04-14 15:53:44 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-04-14 15:53:44 +0200 |
commit | 143f66813fc76abd4941f9bf2079cd3b92ab61fe (patch) | |
tree | b9d4022213a996693926d8bcff371bf91171dd38 /js/gulpfile.js | |
parent | Add icegrid to icegridadmin MSBuild dependencies (diff) | |
download | ice-143f66813fc76abd4941f9bf2079cd3b92ab61fe.tar.bz2 ice-143f66813fc76abd4941f9bf2079cd3b92ab61fe.tar.xz ice-143f66813fc76abd4941f9bf2079cd3b92ab61fe.zip |
Minor JS fixes
Diffstat (limited to 'js/gulpfile.js')
-rw-r--r-- | js/gulpfile.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/gulpfile.js b/js/gulpfile.js index 342b4a513fb..27ace9090fc 100644 --- a/js/gulpfile.js +++ b/js/gulpfile.js @@ -31,7 +31,7 @@ var babel = require("gulp-babel"), var sliceDir = path.resolve(__dirname, '..', 'slice'); var iceBinDist = (process.env.ICE_BIN_DIST || "").split(" "); -var useBinDist = iceBinDist.find(function(variable) {return variable == "js" || variable == "all" }) !== undefined; +var useBinDist = iceBinDist.find(function(v) { return v == "js" || v == "all"; }) !== undefined; function parseArg(argv, key) { @@ -42,7 +42,7 @@ function parseArg(argv, key) { return argv[i + 1]; } - else if(e.indexOf(key + "=") == 0) + else if(e.indexOf(key + "=") === 0) { return e.substr(key.length + 1); } @@ -561,7 +561,7 @@ gulp.task("ice-module:clean", [], { return gulp.src(['node_modules/ice']).pipe(paths(del)); }); - cleanDepends.push("ice-module:clean") + cleanDepends.push("ice-module:clean"); } gulp.task("lint", ["lint:js", "lint:html"]); |