Skip to content

Commit 6840741

Browse files
Fix the jshint errors
1 parent b6787ef commit 6840741

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎test/tests.js‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ window.submitToServer = function () {
4343
start();
4444
afterLoading.call(null, iframe.contentWindow.Cookies);
4545
};
46-
form.action = 'post_iframe.html?bust='.concat(+new Date);
46+
form.action = 'post_iframe.html?bust='.concat(+new Date());
4747
form.submit();
4848
}
49-
}
50-
}
49+
};
50+
};
5151

5252
var lifecycle = {
5353
teardown: function () {
@@ -327,23 +327,23 @@ test('RFC 6265 - disallowed characters in cookie-name', function () {
327327
test('server processing for 2 bytes characters', function () {
328328
expect(1);
329329
Cookies.set('ã', 'ã');
330-
submitToServer().then(function (Cookies) {
330+
window.submitToServer().then(function (Cookies) {
331331
strictEqual(Cookies.get('ã'), 'ã', 'should handle ã character');
332332
});
333333
});
334334

335335
test('server processing for 3 bytes characters', function () {
336336
expect(1);
337337
Cookies.set('₯', '₯');
338-
submitToServer().then(function (Cookies) {
338+
window.submitToServer().then(function (Cookies) {
339339
strictEqual(Cookies.get('₯'), '₯', 'should handle ₯ character');
340340
});
341341
});
342342

343343
test('server processing for 4 bytes characters', function () {
344344
expect(1);
345345
Cookies.set('𩸽', '𩸽');
346-
submitToServer().then(function (Cookies) {
346+
window.submitToServer().then(function (Cookies) {
347347
strictEqual(Cookies.get('𩸽'), '𩸽', 'should handle 𩸽 character');
348348
});
349349
});

0 commit comments

Comments
 (0)