Methods
-
<static> _addCSTimestampToResource(resourceName)
-
Internal function for adding the config service timestamp to the resource to load
Parameters:
Name Type Description resourceName
string the resource to load -
<static> loadJsFile(resourceName, async, successCB, errorCB, filterCB)
-
Internal function for loading JS files
Parameters:
Name Type Description resourceName
string the resource to load async
boolean whether the request should be asynchronous successCB
function the JS could be parsed errorCB
function the JS could not be parsed filterCB
function the optional filter function that can change the response text before it is used -
<static> loadJsonFile(resourceName, async, successCB, errorCB)
-
Internal function for loading JSON files
Parameters:
Name Type Description resourceName
string the resource to load async
boolean whether the request should be asynchronous successCB
function the JSON could be parsed errorCB
function the JSON could not be parsed