I have an index.js file that exists in below code:
for(var i=0;i<allDots.length;i++){
allDots[i].addEventListener("click",function(){
var index= [].indexOf.call(allDots, this);
bannerTl.seek("index"+(index+1));
})
}
After compilation, the code becomes:
for(var i=0;i<allDots.length;i++){
allDots[i].addEventListener("click",function(){
var index= [].indexOf.call(allDots, this);
bannerTl.seek("index.f22f6e73"+(index+1));
})
}
bannerTl.seek("index"+(index+1)); -> bannerTl.seek("index.f22f6e73"+(index+1));
so sad!, how can I solve it?
I have an
index.jsfile that exists in below code:After compilation, the code becomes:
bannerTl.seek("index"+(index+1));->bannerTl.seek("index.f22f6e73"+(index+1));so sad!, how can I solve it?