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 28: | Line 28: | ||
}; | }; | ||
this.extPause = function(){ | this.extPause = function(){ | ||
if(this | if(this.isActive){ | ||
this.Timer.pause | this.Timer.pause(); | ||
} | } | ||
} | } | ||
this.extPlay = function(){ | this.extPlay = function(){ | ||
if(!this.isActive){ | if(!this.isActive){ | ||
this.Timer.play | this.Timer.play(); | ||
} | } | ||
}; | }; | ||
Line 59: | Line 59: | ||
this.extPlay = function(){ | this.extPlay = function(){ | ||
if(!this.isActive){ | if(!this.isActive){ | ||
this.Timer.play | this.Timer.play(); | ||
} | } | ||
} | } |