Files
Modernizr/feature-detects/intl.js
Markel F 3b0eb2be8c Add caniuse mappings (#2535)
* Add caniuse mappings

Co-Authored-By: PavMel <pavmel@users.noreply.github.com>

* Updated some caniuse strings

Co-authored-by: PavMel <pavmel@users.noreply.github.com>
2020-04-17 17:43:44 +02:00

22 lines
625 B
JavaScript

/*!
{
"name": "Internationalization API",
"property": "intl",
"caniuse": "internationalization",
"notes": [{
"name": "MDN Docs",
"href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl"
}, {
"name": "ECMAScript spec",
"href": "https://www.ecma-international.org/ecma-402/1.0/"
}]
}
!*/
/* DOC
Detects support for the Internationalization API which allow easy formatting of number and dates and sorting string
based on a locale
*/
define(['Modernizr', 'prefixed'], function(Modernizr, prefixed) {
Modernizr.addTest('intl', !!prefixed('Intl', window));
});