The running app instance.
Type of the resource the handler handles.
Gets the number of times to retry a failed request for the resource.
Sets the number of times to retry a failed request for the resource.
The open function is passed the raw resource data. The handler can then process the data into a format that can be used at runtime. The base implementation simply returns the data.
The URL of the resource to open.
The raw resource data passed by callback from ResourceHandler#load.
The parsed resource data.
Resource handler for loading JavaScript files dynamically. Two types of JavaScript files can be loaded, PlayCanvas scripts which contain calls to createScript, or regular JavaScript files, such as third-party libraries.