try it differently

This commit is contained in:
Manuel Friedli 2013-12-09 20:32:45 +01:00
parent fc0d70ba1b
commit 1ef8df63e3
1 changed files with 3 additions and 5 deletions

8
uhr.js
View File

@ -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);
} }
})(); }