Sha256: 41f5ea3ad3c0bf1cf1b9ec57eede1c5208b3586716a0c92d014df6a8ece0b67c
Contents?: true
Size: 557 Bytes
Versions: 2
Compression:
Stored size: 557 Bytes
Contents
/*global sinon*/ /** * Helps IE run the fake XDomainRequest. By defining global functions, IE allows * them to be overwritten at a later point. If these are not defined like * this, overwriting them will result in anything from an exception to browser * crash. * * If you don't require fake XDR to work in IE, don't include this file. */ function XDomainRequest() {} // Reassign the original function. Now its writable attribute // should be true. Hackish, I know, but it works. XDomainRequest = sinon.xdr.XDomainRequest || undefined;
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ende-0.5.22 | components/indefinido/indemma/master/vendor/spec/sinon/util/xdr_ie.js |
ende-0.5.21 | components/indefinido/indemma/master/vendor/spec/sinon/util/xdr_ie.js |