Update JSHint config.

This commit is contained in:
XhmikosR 2015-02-27 10:11:19 +02:00
parent 0b49cf0507
commit 220c0e18ca
2 changed files with 8 additions and 6 deletions

View File

@ -1,14 +1,14 @@
{ {
"curly": false, "boss": true,
"curly": true,
"eqeqeq": true, "eqeqeq": true,
"eqnull": true,
"immed": true, "immed": true,
"latedef": true, "latedef": true,
"newcap": true, "newcap": true,
"noarg": true, "noarg": true,
"node": true,
"sub": true, "sub": true,
"undef": true, "undef": true,
"boss": true, "unused": "vars"
"unused": "vars",
"eqnull": true,
"node": true
} }

View File

@ -128,7 +128,9 @@ module.exports = function(grunt) {
var file = options.outfile; var file = options.outfile;
if (options.host) { if (options.host) {
if (!(/\/$/).test(options.host)) options.host = options.host + '/'; if (!(/\/$/).test(options.host)) {
options.host = options.host + '/';
}
file = options.host + options.outfile; file = options.host + options.outfile;
} }