Skip to content

Commit

Permalink
Build: Update JSHint
Browse files Browse the repository at this point in the history
  • Loading branch information
leobalter committed Aug 10, 2015
1 parent d359314 commit 15d7154
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/*jshint node:true */
/*globals JSON:false*/
module.exports = function( grunt ) {

require( "load-grunt-tasks" )( grunt );
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"commitplease": "2.0.0",
"grunt": "0.4.2",
"grunt-contrib-concat": "0.3.0",
"grunt-contrib-jshint": "0.10.0",
"grunt-contrib-jshint": "0.11.2",
"grunt-contrib-watch": "0.5.3",
"grunt-coveralls": "0.3.0",
"grunt-git-authors": "3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ Test.prototype = {
},

pushFailure: function( message, source, actual ) {
if ( !this instanceof Test ) {
if ( !( this instanceof Test ) ) {
throw new Error( "pushFailure() assertion outside test context, was " +
sourceFromStacktrace( 2 ) );
}
Expand Down
2 changes: 2 additions & 0 deletions test/main/deepEqual.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* globals Set:false, Map:false */

QUnit.module( "equiv" );

QUnit.test( "Primitive types and constants", function( assert ) {
Expand Down

0 comments on commit 15d7154

Please sign in to comment.