_OscarLoader | |
_OscarLoader This class handles loading oscar and its depenencies | |
Functions | |
loadJS Loads a JavaScript resource object. | |
loadCSS Loads a CSS object literal. | |
loadResource Single method to call, checks the type of the | resource and passes control to the proper method. |
appendResource Appends the resource to the <head> or <body> block | of the document. |
addResource Adds a resource object to the corresponding array. | |
load Begins loading resources. | |
loadJSResources Loads the JavaScript resources to make sure the | previous is loaded before another one attemps to load. |
checkReadyState This if for Internet Explorer to handle it’s | issues with onload. |
onReady Take in a function or an array of functions to call when | the script resources are finished loading. |
Functions | |
loadJS Loads a JavaScript resource object. | |
loadCSS Loads a CSS object literal. | |
loadResource Single method to call, checks the type of the | resource and passes control to the proper method. |
appendResource Appends the resource to the <head> or <body> block | of the document. |
addResource Adds a resource object to the corresponding array. | |
load Begins loading resources. | |
loadJSResources Loads the JavaScript resources to make sure the | previous is loaded before another one attemps to load. |
checkReadyState This if for Internet Explorer to handle it’s | issues with onload. |
onReady Take in a function or an array of functions to call when | the script resources are finished loading. |