rem: loop: function() { var timePos = new Date().getTime(); if(timePos >= this.finishOn) { this.render(this.options.to); if(this.finish) this.finish(); if(this.options.afterFinish) this.options.afterFinish(this); return; 
add: loop: function(timePos) { if(timePos >= this.startOn) { if(timePos >= this.finishOn) { this.render(1.0); this.cancel(); this.event('beforeFinish'); if(this.finish) this.finish(); this.event('afterFinish'); return; } var pos   = (timePos - this.startOn) / (this.finishOn - this.startOn); var frame = Math.round(pos * this.options.fps * this.options.duration); if(frame > this.currentFrame) { this.render(pos); this.currentFrame = frame; } 
context:   loop: function() {    var timePos = new Date().getTime();    if(timePos >= this.finishOn) {      this.render(this.options.to);      if(this.finish) this.finish();       if(this.options.afterFinish) this.options.afterFinish(this);      return;      }    var pos   = (timePos - this.startOn) / (this.finishOn - this.startOn);    var frame = Math.round(pos * this.options.fps * this.options.duration);    if(frame > this.currentFrame) {      this.render(pos);      this.currentFrame = frame;    }    this.timeout = setTimeout(this.loop.bind(this), 10);  },
meta: 3283	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3283/9867ca01ad65827d23c0bf6cc14d8a64137e927d/effects.js/buggy/tracks/public/javascripts/effects.js