Fix jshint issues in Gruntfile

This commit is contained in:
slackersoft 2015-01-26 10:15:37 -08:00
parent 30ce8dcc68
commit 821c8e8edf

View File

@ -1,5 +1,9 @@
module.exports = function( grunt ) {
'use strict';
function packageVersion() {
return require('./package.json').version;
}
//
// Grunt configuration:
//
@ -31,7 +35,8 @@ module.exports = function( grunt ) {
beforeEach: false,
afterEach: false,
spyOn: false,
getJasmineRequireObj: false
getJasmineRequireObj: false,
require: false
}
},
all: ['Gruntfile.js', 'src/**/*.js', 'lib/**/*.js', 'spec/**/*.js']
@ -62,10 +67,6 @@ module.exports = function( grunt ) {
packageVersion: packageVersion()
});
function packageVersion() {
return require('./package.json').version;
}
grunt.registerTask('versionCheck', function() {
var pkgVersion = packageVersion(),
bower = require('./bower.json'),