javascript - Unexpected token '.' -
the following causes unexpected toeken '.' token:
(i = 0; < numpanels.length; i++) { .fromto(secpanpanelno[i], duration[i], { y: "0%" }, { y: "-100%", ease: linear.easenone, delay: delaypanels },panelno[i]) };
is there different way wrap or token pre-fix make work?
the .fromto greensocks animation library.
call fromto
on numpanels[i]
object:
for (i = 0; < numpanels.length; i++) { numpanels[i].fromto(secpanpanelno[i], duration[i], { y: "0%" }, { y: "-100%", ease: linear.easenone, delay: delaypanels }) };
Comments
Post a Comment