Skip to content

Commit 2af1538

Browse files
committed
Make compatible with latest JSHint.
1 parent cb67571 commit 2af1538

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

grunt.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ var child_process = require("child_process");
1212

1313
module.exports = function( grunt ) {
1414

15+
"use strict";
16+
1517
// readOptionalJSON
1618
// by Ben Alman
1719
// https://gist.github.com/2876125

src/ajax/xhr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ if ( jQuery.support.ajax ) {
150150
// on any attempt to access responseText (#11426)
151151
try {
152152
responses.text = xhr.responseText;
153-
} catch( _ ) {
153+
} catch( e ) {
154154
}
155155

156156
// Firefox throws an exception when accessing

0 commit comments

Comments
 (0)