Created
October 4, 2018 09:45
-
-
Save okj579/2b6b09e298518696cb4ee39e954c4b44 to your computer and use it in GitHub Desktop.
Loads a script which should ignore RequireJS define()
This file contains 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
!function a(b,c){return window.jQuery?$.get(b,function(d){new Function('define',d)(),c&&c()},'text'):setTimeout(function(){a(b,c)},1)}( | |
'js/url.js', | |
function() { | |
// onload script | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment