even the tests are linted!

This commit is contained in:
Manuel Friedli 2016-06-26 23:35:04 +02:00
parent 6f7a77e355
commit c666ee8022

View file

@ -4,6 +4,13 @@ suite('Bärneruhr', function () {
var $ = jQuery; var $ = jQuery;
var elem; var elem;
function cleanupCookies(id) {
$.removeCookie('uhr-language' + id);
$.removeCookie('uhr-mode' + id);
$.removeCookie('uhr-status' + id);
$.removeCookie('uhr-theme' + id);
}
setup(function () { setup(function () {
elem = $('#u'); elem = $('#u');
}); });
@ -21,13 +28,6 @@ suite('Bärneruhr', function () {
window.location.hash = ''; 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 () { test('create and destroy widget', function () {
var uhr = elem.uhr('instance'); var uhr = elem.uhr('instance');
var id; var id;