Skip to content

Instantly share code, notes, and snippets.

@whytheplatypus
Created December 12, 2012 04:15
Show Gist options
  • Save whytheplatypus/4264803 to your computer and use it in GitHub Desktop.
Save whytheplatypus/4264803 to your computer and use it in GitHub Desktop.
setup requirejs before it's script tag.. allows for a busted main.js
<script>
var require = {
waitSeconds: 15,
urlArgs : "bust=" + (new Date()).getTime(),
deps : ['main']
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment