load method
Implementation
load(url, onLoad, [onProgress, onError]) {
var scope = this;
var loader = new FileLoader(this.manager);
loader.setPath(this.path);
loader.setResponseType('arraybuffer');
loader.setRequestHeader(this.requestHeader);
loader.setWithCredentials(this.withCredentials);
loader.load(url, (buffer) {
// try {
if (onLoad != null) onLoad(scope._parse(buffer));
// } catch ( e ) {
// if ( onError != null ) {
// onError( e );
// } else {
// print( e );
// }
// scope.manager.itemError( url );
// }
}, onProgress, onError);
}