Team:Grenoble/script

From 2012.igem.org

(Difference between revisions)
Line 91: Line 91:
    p(this.elem,this.from+this.perFrame*this.frameNb);
    p(this.elem,this.from+this.perFrame*this.frameNb);
    if(this.frameNb===this.totalFrames){
    if(this.frameNb===this.totalFrames){
-
p(this.elem,this.to);
+
        p(this.elem,this.to);
-
if(typeof this.onFinish=='function'){
+
        if(typeof this.onFinish=='function'){
-
    setTimeout(this.onFinish,1)
+
          setTimeout(this.onFinish,1)
-
}
+
        }
-
    }else{}
+
    }else{
 +
            }
 +
        }
     }
     }

Revision as of 16:39, 11 July 2012