As per the XMLHttpRequest spec, the responseText property should default to an empty string.
Using xdomain it is undefined until the readyState reaches 4.
I am attempting to use a third party library which correctly does not expect responseText to be undefined and therefore breaks.
Defaulting emitter.responseText to '' would resolve this issue.
As per the XMLHttpRequest spec, the responseText property should default to an empty string. Using xdomain it is undefined until the readyState reaches 4.
I am attempting to use a third party library which correctly does not expect responseText to be undefined and therefore breaks.
Defaulting emitter.responseText to '' would resolve this issue.