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

Revision as of 18:38, 22 April 2014