Closed kellyselden closed 4 years ago
I'm dealing with a situation where switching to pretender is causing Three.js's file loading to fail. They assume the request has both a responseText and a response property.
responseText
response
Here is the offending code https://github.com/mrdoob/three.js/blob/6fcaa8ef3dac2640a88901f2efd37d42acb82b7c/src/loaders/FileLoader.js#L173.
I would have used
get response() { return this.responseText; }
but I didn't know how new of code you are targetting.
Seems like this one causes #54. Please take a look.
I'm dealing with a situation where switching to pretender is causing Three.js's file loading to fail. They assume the request has both a
responseText
and aresponse
property.Here is the offending code https://github.com/mrdoob/three.js/blob/6fcaa8ef3dac2640a88901f2efd37d42acb82b7c/src/loaders/FileLoader.js#L173.