Skip to content

Commit

Permalink
Make compatible with latest JSHint.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmethvin committed Oct 24, 2012
1 parent cb67571 commit 2af1538
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions grunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ var child_process = require("child_process");

module.exports = function( grunt ) {

"use strict";

// readOptionalJSON
// by Ben Alman
// https://gist.github.com/2876125
Expand Down
2 changes: 1 addition & 1 deletion src/ajax/xhr.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ if ( jQuery.support.ajax ) {
// on any attempt to access responseText (#11426)
try {
responses.text = xhr.responseText;
} catch( _ ) {
} catch( e ) {
}

// Firefox throws an exception when accessing
Expand Down

0 comments on commit 2af1538

Please sign in to comment.