try it differently
This commit is contained in:
parent
fc0d70ba1b
commit
1ef8df63e3
1 changed files with 3 additions and 5 deletions
8
uhr.js
8
uhr.js
|
@ -17,10 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* @param clockarea Das jQuery-gewrappte HTML-Element, auf dem die Uhr angezeigt werden soll.
|
* @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.
|
* @param themeElement Das HTML-Stylesheet-Tag, das das Theme-CSS referenziert.
|
||||||
*/
|
*/
|
||||||
(function() {
|
if (typeof Uhr === 'undefined') {
|
||||||
if (typeof Uhr == 'function') {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
function Uhr(clockarea, settings) {
|
function Uhr(clockarea, settings) {
|
||||||
this.id = Uhr.id++;
|
this.id = Uhr.id++;
|
||||||
this.timer = null;
|
this.timer = null;
|
||||||
|
@ -343,4 +340,5 @@ function m(letter) {
|
||||||
}
|
}
|
||||||
return l(letter, style);
|
return l(letter, style);
|
||||||
}
|
}
|
||||||
})();
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue