SP.SOD.registerSod(key, url) Method
Applies to: SharePoint Foundation 2010
Registers the specified file at the specified URL.
SP.SOD.registerSod(key, url);
Parameters
key
Type: String
The name of the file to register.
url
Type: String
The relative (to the server root) URL of the file.
Remarks
You must call this method before you can call any functions within the file.