grunt-contrib-jshint
Advanced tools
Comparing version 0.4.0 to 0.4.1
{ | ||
"name": "grunt-contrib-jshint", | ||
"description": "Validate files with JSHint.", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"homepage": "https://github.com/gruntjs/grunt-contrib-jshint", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -137,2 +137,3 @@ # grunt-contrib-jshint [![Build Status](https://secure.travis-ci.org/gruntjs/grunt-contrib-jshint.png?branch=master)](http://travis-ci.org/gruntjs/grunt-contrib-jshint) | ||
* 2013-04-06 v0.4.1 Fix to allow object type for deprecated predef. | ||
* 2013-04-04 v0.4.0 Revert task level options to override jshintrc files. | ||
@@ -150,2 +151,2 @@ * 2013-03-13 v0.3.0 Bump to JSHint 1.1.0. Add force option to report JSHint errors but not fail the task. Add error/warning code to message. Allow task level options to override jshintrc file. | ||
*This file was generated on Thu Apr 04 2013 21:33:36.* | ||
*This file was generated on Sat Apr 06 2013 22:25:05.* |
@@ -30,4 +30,7 @@ /* | ||
} | ||
// Convert deprecated "predef" array into globals. | ||
// Convert deprecated "predef" array|object into globals. | ||
if (options.predef) { | ||
if (options.predef === Object(options.predef)) { | ||
options.predef = Object.keys(options.predef); | ||
} | ||
options.predef.forEach(function(key) { | ||
@@ -34,0 +37,0 @@ options.globals[key] = true; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19522
216
151