UNPKG

modernizr

Version:

Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser.

24 lines (23 loc) 581 B
/*! { "name": "XDomainRequest", "property": "xdomainrequest", "tags": ["cors", "xdomainrequest", "ie9", "ie8"], "authors": ["Ivan Pan (@hypotenuse)"], "notes": [ { "name": "MDN documentation", "href": "https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest" }, { "name": "MSDN documentation", "href": "https://msdn.microsoft.com/library/ie/cc288060.aspx/" }] } !*/ /* DOC Detects support for XDomainRequest in IE9 & IE8 */ define(['Modernizr'], function(Modernizr) { Modernizr.addTest('xdomainrequest', 'XDomainRequest' in window); });