Sharing javascript code /evaluation between subpages in onepage app
pIn my single page app made using a href=https://github.com/cmpolis/Pagify
rel=nofollowpagify.js/a i created two pages, both using a
href=https://github.com/Victa/curtain.js rel=nofollowcurtain.js/a./p pI
created simple demo (link below) to ilustrate my problem:/p pstrongWhats
happening:/strong Enter #curtain-second, scroll to the bottom (works
fine), click on curtain first to get to #curtain-first (works fine) -
click on #curtain-second, scroll down - bugs show up in console./p pa
href=http://dl-web.dropbox.com/spa/eurnrr2afutj1im/curtain-pagify/public/index.html#curtain-second
rel=nofollowsample website/a (check text below before trying to reproduce
bug)/p pFirst, i started debugging, but then I noticed that this might not
be the issue here. It seems that once evaluated javascript code is not
being simply 'forgotten' by the browser, even though you serve it with
different ?=version tag am i right?/p pstrongMy questions:/strong /p p1)
is there some way to clear evaluated code from browsers
cache/memory/storage and start it up again?/p p2) is this the way it
should be done, or maybe i should try different approach? id be grateful
for any directions/p
No comments:
Post a Comment