load method
dynamic
load(])
override
Implementation
@override
load(url, onLoad, [onProgress, onError]) {
var scope = this;
var loader = FileLoader(scope.manager);
loader.setPath(scope.path);
loader.setRequestHeader(scope.requestHeader);
loader.setWithCredentials(scope.withCredentials);
loader.load(url, (text) {
// try {
onLoad(scope.parse(text));
// } catch ( e ) {
// if ( onError != null ) {
// onError( e );
// } else {
// print("SVGLoader load error.... ");
// print( e );
// }
// scope.manager.itemError( url );
// }
}, onProgress, onError);
}