From 5206457484b4e46692f05c59428a47391228b013 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Sun, 26 Jun 2016 23:46:44 +0200 Subject: [PATCH] Revert "even the tests are linted!" This reverts commit c666ee8022fe5fc5421a7e33c61532cbf4823db0. --- test/test.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/test.js b/test/test.js index cdc1a8f..98b57b0 100644 --- a/test/test.js +++ b/test/test.js @@ -4,13 +4,6 @@ suite('Bärneruhr', function () { var $ = jQuery; var elem; - function cleanupCookies(id) { - $.removeCookie('uhr-language' + id); - $.removeCookie('uhr-mode' + id); - $.removeCookie('uhr-status' + id); - $.removeCookie('uhr-theme' + id); - } - setup(function () { elem = $('#u'); }); @@ -28,6 +21,13 @@ suite('Bärneruhr', function () { window.location.hash = ''; }); + function cleanupCookies(id) { + $.removeCookie('uhr-language' + id); + $.removeCookie('uhr-mode' + id); + $.removeCookie('uhr-status' + id); + $.removeCookie('uhr-theme' + id); + } + test('create and destroy widget', function () { var uhr = elem.uhr('instance'); var id;