diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2014-11-30 17:33:23 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2014-11-30 17:33:23 +0900 |
commit | 0059eb528acff050e752cf987a3ad48e283d4f04 (patch) | |
tree | 720a3fe906401ad42e3520eba838cca411e507f6 /js | |
parent | 46b34669c7ff6e68ac6f7db3f840a7056b63ae6e (diff) | |
download | schoolclock-0059eb528acff050e752cf987a3ad48e283d4f04.tar.gz |
remove stray variable and cancel a TODO list item
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -1,10 +1,3 @@ -/* - * TODO: - * - * - initialise time wasting clock from storage in OO idiom rather - * than just stray function call - */ - // class: one of the classes in our school var Class = function (grade, clas, total) { this.grade = grade; @@ -187,6 +180,7 @@ var timeWastingClock = MyFlipClock($('.time-wasting-clock'), { } } }); +timeWastingClock.setTime($.jStorage.get("time_wasted", 0)); timeWastingClock.running = false; timeWastingClock.reset = $.proxy(function () { @@ -220,10 +214,6 @@ timeWastingClock.toggle = $.proxy(function () { } }, timeWastingClock); -timeWastingClock.setTime($.jStorage.get("time_wasted", 0)); - -var $timeWastingClockRunning = false; - var activityClock = MyFlipClock($('.activity-countdown'), { autoStart:false, countdown:true, |