I have a giant script block inside my code file and I want to load it after SP.js loads. I've looked at ScriptLink, but I don't think ScriptLink injects code, it only injects code files.
Is there a better way to accomplish this?
Thanks!
PS: In case you're wondering why I have the JS file in my code: its because I have to update the JS file depending on some settings.