Add files
This commit is contained in:
commit
bb80829159
18195 changed files with 2122994 additions and 0 deletions
28
509bba0_unpacked_with_node_modules/~/intl/index.js
generated
Executable file
28
509bba0_unpacked_with_node_modules/~/intl/index.js
generated
Executable file
|
@ -0,0 +1,28 @@
|
|||
var m = require('./lib/core.js'),
|
||||
IntlPolyfill = m.default;
|
||||
|
||||
// Expose `IntlPolyfill` as global to add locale data into runtime later on.
|
||||
global.IntlPolyfill = IntlPolyfill;
|
||||
|
||||
// Require all locale data for `Intl`. This module will be
|
||||
// ignored when bundling for the browser with Browserify/Webpack.
|
||||
require('./locale-data/complete.js');
|
||||
|
||||
// hack to export the polyfill as global Intl if needed
|
||||
if (!global.Intl) {
|
||||
global.Intl = IntlPolyfill;
|
||||
IntlPolyfill.__applyLocaleSensitivePrototypes();
|
||||
}
|
||||
|
||||
// providing an idiomatic api for the nodejs version of this module
|
||||
module.exports = exports = IntlPolyfill;
|
||||
// preserving the original api in case another module is relying on that
|
||||
exports.default = IntlPolyfill;
|
||||
|
||||
|
||||
|
||||
//////////////////
|
||||
// WEBPACK FOOTER
|
||||
// ./~/intl/index.js
|
||||
// module id = 1203
|
||||
// module chunks = 4
|
Loading…
Add table
Add a link
Reference in a new issue