Methods
-
<static> _addCSTimestampToResource(resourceName)
-
Internal function for adding the config service timestamp to the resource to load
Parameters:
Name Type Description resourceNamestring the resource to load -
<static> _tryAlternateFetchOnFailure(resourceName, successCB, errorCB)
-
Internal function that handles failure for an ajax fetch. In case of UWP error could be triggred because of long file names (> 260 characters)
Parameters:
Name Type Description resourceNamestring successCBfunction errorCBfunction -
<static> loadJsFile(resourceName, async, successCB, errorCB, filterCB)
-
Internal function for loading JS files
Parameters:
Name Type Description resourceNamestring the resource to load asyncboolean whether the request should be asynchronous successCBfunction the JS could be parsed errorCBfunction the JS could not be parsed filterCBfunction 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 resourceNamestring the resource to load asyncboolean whether the request should be asynchronous successCBfunction the JSON could be parsed errorCBfunction the JSON could not be parsed