Compare commits
2 Commits
7d5a13850d
...
e0d17cf7e0
Author | SHA1 | Date | |
---|---|---|---|
|
e0d17cf7e0 | ||
|
b761b820db |
@ -108,7 +108,7 @@ var schedule_once = function(f, t){
|
|||||||
t:time in second unit
|
t:time in second unit
|
||||||
*/
|
*/
|
||||||
t = t * 1000
|
t = t * 1000
|
||||||
return window.setTimeout(f, t);
|
window.setTimeout(f, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
var schedule_interval = function(f, t){
|
var schedule_interval = function(f, t){
|
||||||
@ -117,7 +117,7 @@ var schedule_interval = function(f, t){
|
|||||||
func();
|
func();
|
||||||
schedule_once(mf.bind(func, t), t);
|
schedule_once(mf.bind(func, t), t);
|
||||||
}
|
}
|
||||||
return schedule_once(mf.bind(f,t), t);
|
schedule_once(mf.bind(f,t), t);
|
||||||
}
|
}
|
||||||
|
|
||||||
var debug = function(){
|
var debug = function(){
|
||||||
|
Loading…
Reference in New Issue
Block a user