Created
May 13, 2015 19:01
-
-
Save beckettkev/d2deb219a9410fac431b to your computer and use it in GitHub Desktop.
SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs - How to register your script with SP.SOD
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
if (typeof Sys != "undefined" && Sys && Sys.Application) { | |
Sys.Application.notifyScriptLoaded(); | |
} | |
if (typeof SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs =="function") { | |
SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs("NameOfMyScriptGoesHere.min.js"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment