Skip to content

Commit

Permalink
Lint: Workaround jshint bug in older version that grunt uses.
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed Nov 15, 2012
1 parent 97c5655 commit 0cc7a2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qunit/qunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ var QUnit,
* @return {Object} New object with only the own properties (recursively).
*/
objectValues = function( obj ) {
// Grunt 0.3.x uses an older version of jshint that still has jshint/jshint#392.
/*jshint newcap: false */
var key, val,
vals = QUnit.is( "array", obj ) ? [] : {};
for ( key in obj ) {
Expand Down

0 comments on commit 0cc7a2b

Please sign in to comment.