Methods
-
<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