Widget:TimerTest2: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
this.pause = function(){ | this.pause = function(){ | ||
this.Timer.pause().once(); | this.Timer.pause().once(); | ||
}; | |||
this.play = function(){ | |||
this.Timer.play().once(); | |||
}; | }; | ||
$(init); | $(init); | ||
Line 37: | Line 40: | ||
this.resetTimer = function(){ | this.resetTimer = function(){ | ||
currentTime = 5000; | currentTime = 5000; | ||
Obj1.play | Obj1.play(); | ||
} | } | ||
$(init); | $(init); |