javascriptyepnopedynamic-script-loading

Force a script refresh using the "yepnope" JavaScript script loader


Using yepnope.js. I need to "refresh" the script, but yepnope prevents files with the same url from being re-loaded.

In the documentation, they suggest using a plugin to allow files to refresh. Is there such a plugin available? What are my other options for refreshing a script during runtime in Javascript?

I tried appending a random number as a query argument to the url. That worked, but made it much more difficult to set breakpoints while debugging, so I'd rather not do this.

Any suggestions? Thanks!


Solution

  • IMHO it is not possible do that using any yepnope method.

    I think you only has two possibilities:

    good luck