diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-10-16 10:17:14 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2012-10-16 10:17:14 -0400 |
commit | ed9e34482a303e7e64c397f89533dbe64f51cfbf (patch) | |
tree | 343331dcdc9b4f93dbeff7c375e3526c4bcd3057 /test/unit/callbacks.js | |
parent | 605a38073e657d929eed06b3211baee1cd29c787 (diff) | |
download | jquery-ed9e34482a303e7e64c397f89533dbe64f51cfbf.tar.gz jquery-ed9e34482a303e7e64c397f89533dbe64f51cfbf.zip |
enforce double quotes via JSHint. Closes gh-975
Diffstat (limited to 'test/unit/callbacks.js')
-rw-r--r-- | test/unit/callbacks.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/callbacks.js b/test/unit/callbacks.js index f0b3fdd51..6abcaf0d1 100644 --- a/test/unit/callbacks.js +++ b/test/unit/callbacks.js @@ -32,14 +32,14 @@ var output, }; } }; - + function showFlags( flags ) { if ( typeof flags === "string" ) { - return '"' + flags + '"'; + return "'" + flags + "'"; } var output = [], key; for ( key in flags ) { - output.push( '"' + key + '": ' + flags[ key ] ); + output.push( "'" + key + "': " + flags[ key ] ); } return "{ " + output.join( ", " ) + " }"; } |