rem: if(this.options.transition) pos = this.options.transition(pos); pos *= (this.options.to-this.options.from); pos += this.options.from; this.position = pos; this.event('beforeUpdate'); if(this.update) this.update(pos); this.event('afterUpdate'); 
add: if(this.state == 'running') { if(this.options.transition) pos = this.options.transition(pos); pos *= (this.options.to-this.options.from); pos += this.options.from; this.position = pos; this.event('beforeUpdate'); if(this.update) this.update(pos); this.event('afterUpdate'); } 
context:   render: function(pos) {    if(this.state == 'idle') {      this.state = 'running';      this.event('beforeSetup');      if(this.setup) this.setup();      this.event('afterSetup');    }    if(this.options.transition) pos = this.options.transition(pos);    pos *= (this.options.to-this.options.from);    pos += this.options.from;    this.position = pos;    this.event('beforeUpdate');    if(this.update) this.update(pos);    this.event('afterUpdate');  },
meta: 3974	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3974/af9adbf17404d887f31369756326b0109da7ae2b/effects.js/clean/root/static/js/effects.js