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 25: Line 25:
     init = function(){
     init = function(){
         $timer1 = $('#output1');
         $timer1 = $('#output1');
         Obj1.Timer = $.timer(updateTimer, incrementTime, true);
         window.Timer1 = $.timer(updateTimer, incrementTime, true);
     };
     };
     this.pause = function(){
     this.pause = function(){
         this.Timer.pause().once();
         window.Timer1.pause().once();
     };
     };
     this.play = function(){
     this.play = function(){
         if(!this.Timer.isActive){
         if(!this.Timer.isActive){
         this.Timer.play().once();
         window.Timer.play().once();
         }
         }
     };
     };

Revision as of 18:21, 24 April 2014