Skip to content

tangrammer/requirejs-force-reload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Demo to reload requirejs instance without browser reload

        This demo wants to show how you can force reload the
        requirejs files without reload the browser. It uses the
        require.onResourceLoad() function to grab all the files that
        participate in the app, and later uses the
        require.undef(id_file_name) function to remove the files from
        requirejs and then try  to load the main file again.

Here there is an online version 
https://dl.dropboxusercontent.com/u/8688858/requirejs-force-reload/project.html

About

A practic example of how force reload the requirejs files with a js function call from the client browser, without reload the browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published