Fix various linting errors
This commit is contained in:
parent
82f867a8ec
commit
5a3e672b9c
23 changed files with 12266 additions and 5673 deletions
14
test/test.js
14
test/test.js
|
@ -8,6 +8,13 @@ suite('Bärneruhr', function () {
|
|||
elem = $('#u');
|
||||
});
|
||||
|
||||
function cleanupCookies(id) {
|
||||
$.removeCookie('uhr-language' + id);
|
||||
$.removeCookie('uhr-mode' + id);
|
||||
$.removeCookie('uhr-status' + id);
|
||||
$.removeCookie('uhr-theme' + id);
|
||||
}
|
||||
|
||||
teardown(function () {
|
||||
var uhr = elem.uhr('instance');
|
||||
if (uhr !== undefined) {
|
||||
|
@ -21,13 +28,6 @@ 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue