Commit 2af15386 authored by Dave Methvin's avatar Dave Methvin

Make compatible with latest JSHint.

parent cb67571d
...@@ -12,6 +12,8 @@ var child_process = require("child_process"); ...@@ -12,6 +12,8 @@ var child_process = require("child_process");
module.exports = function( grunt ) { module.exports = function( grunt ) {
"use strict";
// readOptionalJSON // readOptionalJSON
// by Ben Alman // by Ben Alman
// https://gist.github.com/2876125 // https://gist.github.com/2876125
......
...@@ -150,7 +150,7 @@ if ( jQuery.support.ajax ) { ...@@ -150,7 +150,7 @@ if ( jQuery.support.ajax ) {
// on any attempt to access responseText (#11426) // on any attempt to access responseText (#11426)
try { try {
responses.text = xhr.responseText; responses.text = xhr.responseText;
} catch( _ ) { } catch( e ) {
} }
// Firefox throws an exception when accessing // Firefox throws an exception when accessing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment