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,
"eqnull": true,
"immed": true,
"latedef": true,
"newcap": true,
"noarg": true,
"node": true,
"sub": true,
"undef": true,
"boss": true,
"unused": "vars",
"eqnull": true,
"node": true
"unused": "vars"
}

View File

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