mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-17 15:11:04 +00:00
22 lines
625 B
JavaScript
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));
|
|
});
|