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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -