From df9e435da3201a970e0a39bfc3d050c69db71c20 Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 3 Jul 2014 21:20:20 +0200 Subject: [PATCH] renamed _currentMinute to currentMinute --- js/uhr.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/js/uhr.js b/js/uhr.js index 3a26c6d..6c2bb57 100644 --- a/js/uhr.js +++ b/js/uhr.js @@ -87,7 +87,7 @@ along with this program. If not, see . var renderer = new UhrRenderer(language(this), this.element.find('.letterarea')); var uhr = this; renderer.render(this, function () { - uhr._currentMinute = -1; + uhr.currentMinute = -1; update(uhr); }); setCookie(this, 'uhr-language', languageKey); @@ -103,7 +103,7 @@ along with this program. If not, see . } }; var setTime = function setTime(time) { - this._currentMinute = -1; + this.currentMinute = -1; if (time === null) { this.options.time = new Date(); } else { @@ -119,7 +119,7 @@ along with this program. If not, see . var create = function create() { this.id = uhrGlobals.id++; this.timer = null; - this._currentMinute = -1; + this.currentMinute = -1; var userTime = this.options.time; if (this.options.time === undefined) { this.options.time = new Date(); @@ -272,14 +272,14 @@ along with this program. If not, see . var update = function update(uhr) { if (isOn(uhr)) { var time = uhr.options.time; - if (time.getMinutes() === uhr._currentMinute) { + if (time.getMinutes() === uhr.currentMinute) { return; } - uhr._currentMinute = time.getMinutes(); + uhr.currentMinute = time.getMinutes(); show(uhr, time); } else { clear(uhr); - uhr._currentMinute = -1; + uhr.currentMinute = -1; } }; var show = function show(uhr, time) {