From 0035264f273477276fd3dc21797314e0a2162300 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Sun, 26 Jun 2016 23:26:45 +0200 Subject: [PATCH] get rid of more linting errors --- src/uhr.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/uhr.js b/src/uhr.js index d938a09..ad936a4 100644 --- a/src/uhr.js +++ b/src/uhr.js @@ -517,7 +517,7 @@ renderarea.fadeIn('fast'); }); }; - } + }; UhrRendererV2Delegate = function UhrRendererV2Delegate(layout) { var vorne0 = { @@ -727,7 +727,9 @@ "59": [vorne5, hinten9] }; - function parseArrayOrObject(letters, styleClass, input) { + var parseArrayOrObject, parseObject, parseTimeDefinition; + + parseArrayOrObject = function parseArrayOrObject(letters, styleClass, input) { if (typeof input !== 'undefined' && input !== null) { if (Array.isArray(input)) { input.forEach(function(item) { @@ -739,7 +741,7 @@ } } - function parseObject(letters, styleClass, object) { + parseObject = function parseObject(letters, styleClass, object) { if (typeof object !== 'undefined' && object !== null) { Object.keys(object).forEach(function(y) { var highlightLetters = object[y]; @@ -750,7 +752,7 @@ } } - function parseTimeDefinition(letters, styleClass, definition) { + parseTimeDefinition = function parseTimeDefinition(letters, styleClass, definition) { if (typeof definition !== 'undefined' && definition !== null) { Object.keys(definition).forEach(function(listString) { var array = listString.split(','); @@ -782,7 +784,7 @@ parseTimeDefinition(letters, 'hour', layout.hours); return letters; }; - } + }; /** * Ein Buchstabe. Hilfsklasse für den Renderer und Inhalt der Layout-Arrays. @@ -802,5 +804,5 @@ this.toString = function() { return '' + myValue + ''; }; - } + }; })(jQuery);