Sha256: e4755623e416d6066c77b2992895500ef822ef8b810a1db5387f81c54ad2471a

Contents?: true

Size: 447 Bytes

Versions: 11

Compression:

Stored size: 447 Bytes

Contents

/*
*	eventLoop.js
*/

$debug("Initializing Window EventLoop.");

$w.setTimeout = function(fn, time){
  return $master.eventLoop.setTimeout($inner,fn,time);
};

$w.setInterval = function(fn, time){
  return $master.eventLoop.setInterval($inner,fn,time);
};

$w.clearInterval = $w.clearTimeout = function(num){
  return $master.eventLoop.clear(num);
};	

$w.$wait = $env.wait = $env.wait || function(wait) {
  return $master.eventLoop.wait(wait);
};

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
envjs19-0.3.8.20101029121421 src/window/timer.js
envjs-0.3.8 src/window/timer.js
envjs-0.3.7 src/window/timer.js
envjs-0.3.6 src/window/timer.js
envjs-0.3.5 src/window/timer.js
envjs-0.3.4 src/window/timer.js
envjs-0.3.3 src/window/timer.js
envjs-0.3.2 src/window/timer.js
envjs-0.3.1 src/window/timer.js
envjs-0.3.0 src/window/timer.js
envjs-0.2.0 src/window/timer.js