|
@@ -80,7 +80,6 @@ THREE.XHRLoader.prototype = {
|
|
|
|
|
|
}, false );
|
|
|
|
|
|
- if ( this.crossOrigin !== undefined ) request.crossOrigin = this.crossOrigin;
|
|
|
if ( this.responseType !== undefined ) request.responseType = this.responseType;
|
|
|
if ( this.withCredentials !== undefined ) request.withCredentials = this.withCredentials;
|
|
|
|
|
@@ -92,9 +91,9 @@ THREE.XHRLoader.prototype = {
|
|
|
|
|
|
},
|
|
|
|
|
|
- setCrossOrigin: function ( value ) {
|
|
|
+ setPath: function ( value ) {
|
|
|
|
|
|
- this.crossOrigin = value;
|
|
|
+ this.path = value;
|
|
|
|
|
|
},
|
|
|
|
|
@@ -104,12 +103,6 @@ THREE.XHRLoader.prototype = {
|
|
|
|
|
|
},
|
|
|
|
|
|
- setPath: function ( value ) {
|
|
|
-
|
|
|
- this.path = value;
|
|
|
-
|
|
|
- },
|
|
|
-
|
|
|
setWithCredentials: function ( value ) {
|
|
|
|
|
|
this.withCredentials = value;
|