diff --git a/uhr.js b/uhr.js index 49208f4..3b09ed0 100644 --- a/uhr.js +++ b/uhr.js @@ -17,10 +17,7 @@ along with this program. If not, see . * @param clockarea Das jQuery-gewrappte HTML-Element, auf dem die Uhr angezeigt werden soll. * @param themeElement Das HTML-Stylesheet-Tag, das das Theme-CSS referenziert. */ -(function() { -if (typeof Uhr == 'function') { - return; -} +if (typeof Uhr === 'undefined') { function Uhr(clockarea, settings) { this.id = Uhr.id++; this.timer = null; @@ -343,4 +340,5 @@ function m(letter) { } return l(letter, style); } -})(); +} +