From 49b4fc4dfe41061316ea43352c84381c3158065b Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Sun, 26 Jun 2016 23:46:20 +0200 Subject: [PATCH] Revert "get rid of more linting errors" This reverts commit 0035264f273477276fd3dc21797314e0a2162300. --- src/uhr.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/uhr.js b/src/uhr.js index 486a069..22d2b5d 100644 --- a/src/uhr.js +++ b/src/uhr.js @@ -508,7 +508,7 @@ renderarea.fadeIn('fast'); }); }; - }; + } function UhrRendererV2Delegate(layout) { var vorne0 = { @@ -718,9 +718,7 @@ "59": [vorne5, hinten9] }; - var parseArrayOrObject, parseObject, parseTimeDefinition; - - parseArrayOrObject = function parseArrayOrObject(letters, styleClass, input) { + function parseArrayOrObject(letters, styleClass, input) { if (typeof input !== 'undefined' && input !== null) { if (Array.isArray(input)) { input.forEach(function(item) { @@ -732,7 +730,7 @@ } }; - parseObject = function parseObject(letters, styleClass, object) { + function parseObject(letters, styleClass, object) { if (typeof object !== 'undefined' && object !== null) { Object.keys(object).forEach(function(y) { var highlightLetters = object[y]; @@ -743,7 +741,7 @@ } }; - parseTimeDefinition = function parseTimeDefinition(letters, styleClass, definition) { + function parseTimeDefinition(letters, styleClass, definition) { if (typeof definition !== 'undefined' && definition !== null) { Object.keys(definition).forEach(function(listString) { var array = listString.split(','); @@ -775,7 +773,7 @@ parseTimeDefinition(letters, 'hour', layout.hours); return letters; }; - }; + } /** * Ein Buchstabe. Hilfsklasse für den Renderer und Inhalt der Layout-Arrays. @@ -795,5 +793,5 @@ this.toString = function() { return '' + myValue + ''; }; - }; + } })(jQuery);