User Tools

Site Tools


script_owm

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
script_owm [2015/05/17 20:51]
jappie [OWM-example]source added
script_owm [2015/05/21 11:27] (current)
jappie [OWM-load] improved timer
Line 50: Line 50:
     if (repl == null){return;​};​     if (repl == null){return;​};​
     self.owm.forcast = JSON.parse(repl);​     self.owm.forcast = JSON.parse(repl);​
 +  }
     self.owm.timer = setTimeout(refreshOWM,​ 600000);     self.owm.timer = setTimeout(refreshOWM,​ 600000);
-}+}
  
 clearTimeout(self.owm.timer);​ clearTimeout(self.owm.timer);​
script_owm.1431895862.txt.gz ยท Last modified: 2015/05/17 20:51 by jappie