Skip to content

Commit 3b456a1

Browse files
committed
removing trailing whitespace
1 parent 67fb34f commit 3b456a1

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎jquery.cookie.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
* @author Klaus Hartl/klaus.hartl@stilbuero.de
5959
*/
6060
jQuery.cookie = function (key, value, options) {
61-
61+
6262
// key and at least value given, set cookie...
6363
if (arguments.length > 1 && String(value) !== "[object Object]") {
6464
options = jQuery.extend({}, options);
@@ -71,9 +71,9 @@ jQuery.cookie = function (key, value, options) {
7171
var days = options.expires, t = options.expires = new Date();
7272
t.setDate(t.getDate() + days);
7373
}
74-
74+
7575
value = String(value);
76-
76+
7777
return (document.cookie = [
7878
encodeURIComponent(key), '=',
7979
options.raw ? value : encodeURIComponent(value),

‎test.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module('read', before);
1212

1313
test('simple value', 1, function () {
1414
document.cookie = 'c=v';
15-
equals($.cookie('c'), 'v', 'should return value');
15+
equals($.cookie('c'), 'v', 'should return value');
1616
});
1717

1818
test('not existing', 1, function () {
@@ -58,7 +58,7 @@ test('delete', 2, function () {
5858
document.cookie = 'c=v';
5959
$.cookie('c', null);
6060
equals(document.cookie, '', 'should delete with null as value');
61-
61+
6262
document.cookie = 'c=v';
6363
$.cookie('c', undefined);
6464
equals(document.cookie, '', 'should delete with undefined as value');

0 commit comments

Comments
 (0)