adlnet / xAPIWrapper

Wrapper to simplify communication to an LRS
https://adlnet.gov/projects/xapi/
Apache License 2.0
219 stars 114 forks source link

Browser support #135

Closed oliverfoster closed 5 years ago

oliverfoster commented 5 years ago

The text-encoding dependency returns a Uint8Array which suggests IE10 as the minimum.

The xapiwrapper has a subsection using the XDomainRequest object for CORS which suggests <=IE9. XDomainRequest was removed in IE10 and replaced with a standard CORS compatible XMLHttpRequest.

If IE10 is the minimum we can remove the XDomainRequest subsection and the Date.prototype.toISOString polyfill.

If support is needed for <=IE9 then it's currently broken here as ArrayBuffer and by extension Uint8Array objects don't exist below IE10.

oliverfoster commented 5 years ago

142 Work in progress