Created
September 10, 2012 20:22
-
-
Save mamoo/3693584 to your computer and use it in GitHub Desktop.
require js test (bust browser caching by appending a dummy url param).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require.config({ | |
| baseUrl: "/js/", | |
| urlArgs: 'cb=' + Math.random(), // <<< That's it. | |
| paths: {... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment