Skip to content

Commit e13a9b6

Browse files
committed
making jshint pass
1 parent c2f9c3a commit e13a9b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎jquery.cookie.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
var decode = options.raw ? function(s) { return s; } : decodeURIComponent;
4040

4141
var pairs = document.cookie.split('; ');
42-
for (var i = 0, pair; pair = pairs[i] && pairs[i].split('='); i++) {
42+
for (var i = 0, pair; (pair = pairs[i] && pairs[i].split('=')); i++) {
4343
if (decode(pair[0]) === key) return decode(pair[1] || ''); // IE saves cookies with empty string as "c; ", e.g. without "=" as opposed to EOMB, thus pair[1] may be undefined
4444
}
4545
return null;

0 commit comments

Comments
 (0)