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 11: Line 11:
         $timer1.html(currentTime);
         $timer1.html(currentTime);
         currentTime +=incrementTime;
         currentTime +=incrementTime;
         if(currentTime == 10000){
         if(currentTime == 30000){
             var api = new mw.Api();
             var api = new mw.Api();
             api.get( {
             api.get( {
Line 40: Line 40:
     var $timer2,
     var $timer2,
     incrementTime = 100,
     incrementTime = 100,
     currentTime = 5000,
     currentTime = 120000,
     updateTimer = function() {
     updateTimer = function() {
         $timer2.html(currentTime);
         $timer2.html(currentTime);

Revision as of 15:20, 18 April 2014