-
Notifications
You must be signed in to change notification settings - Fork 3.9k
/
Copy pathcustom-core-js-shim.js
133 lines (131 loc) · 6.12 KB
/
custom-core-js-shim.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/**
* Copyright 2015 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS-IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// NOTE:
// This file contains the core-js shims that the project currently requires.
// The commented out `require` lines are shims which the team
// has deemed to not be used or ones which the team thinks
// shouldn't be used.
//
// If you feel strongly that a shim is required or should be used then
// uncomment it from the list and contact the team.
//
// This is temporary until we can build out something more sophisticated with
// gulp + browserify + cli or switch to webpack.
//require('core-js/modules/es5');
//require('core-js/modules/es6.symbol');
//require('core-js/modules/es6.object.assign');
//require('core-js/modules/es6.object.is');
//require('core-js/modules/es6.object.set-prototype-of');
//require('core-js/modules/es6.object.to-string');
//require('core-js/modules/es6.object.freeze');
//require('core-js/modules/es6.object.seal');
//require('core-js/modules/es6.object.prevent-extensions');
//require('core-js/modules/es6.object.is-frozen');
//require('core-js/modules/es6.object.is-sealed');
//require('core-js/modules/es6.object.is-extensible');
//require('core-js/modules/es6.object.get-own-property-descriptor');
//require('core-js/modules/es6.object.get-prototype-of');
//require('core-js/modules/es6.object.keys');
//require('core-js/modules/es6.object.get-own-property-names');
//require('core-js/modules/es6.function.name');
//require('core-js/modules/es6.function.has-instance');
//require('core-js/modules/es6.number.constructor');
//require('core-js/modules/es6.number.epsilon');
//require('core-js/modules/es6.number.is-finite');
//require('core-js/modules/es6.number.is-integer');
//require('core-js/modules/es6.number.is-nan');
//require('core-js/modules/es6.number.is-safe-integer');
//require('core-js/modules/es6.number.max-safe-integer');
//require('core-js/modules/es6.number.min-safe-integer');
//require('core-js/modules/es6.number.parse-float');
//require('core-js/modules/es6.number.parse-int');
//require('core-js/modules/es6.math.acosh');
//require('core-js/modules/es6.math.asinh');
//require('core-js/modules/es6.math.atanh');
//require('core-js/modules/es6.math.cbrt');
//require('core-js/modules/es6.math.clz32');
//require('core-js/modules/es6.math.cosh');
//require('core-js/modules/es6.math.expm1');
//require('core-js/modules/es6.math.fround');
//require('core-js/modules/es6.math.hypot');
//require('core-js/modules/es6.math.imul');
//require('core-js/modules/es6.math.log10');
//require('core-js/modules/es6.math.log1p');
//require('core-js/modules/es6.math.log2');
require('core-js/modules/es6.math.sign');
//require('core-js/modules/es6.math.sinh');
//require('core-js/modules/es6.math.tanh');
//require('core-js/modules/es6.math.trunc');
//require('core-js/modules/es6.string.from-code-point');
//require('core-js/modules/es6.string.raw');
//require('core-js/modules/es6.string.trim');
//require('core-js/modules/es6.string.iterator');
//require('core-js/modules/es6.string.code-point-at');
//require('core-js/modules/es6.string.ends-with');
//require('core-js/modules/es6.string.includes');
//require('core-js/modules/es6.string.repeat');
//require('core-js/modules/es6.string.starts-with');
//require('core-js/modules/es6.array.from');
//require('core-js/modules/es6.array.of');
//require('core-js/modules/es6.array.iterator');
//require('core-js/modules/es6.array.species');
//require('core-js/modules/es6.array.copy-within');
//require('core-js/modules/es6.array.fill');
//require('core-js/modules/es6.array.find');
//require('core-js/modules/es6.array.find-index');
//require('core-js/modules/es6.regexp.constructor');
//require('core-js/modules/es6.regexp.flags');
//require('core-js/modules/es6.regexp.match');
//require('core-js/modules/es6.regexp.replace');
//require('core-js/modules/es6.regexp.search');
//require('core-js/modules/es6.regexp.split');
require('core-js/modules/es6.promise');
//require('core-js/modules/es6.map');
//require('core-js/modules/es6.set');
//require('core-js/modules/es6.weak-map');
//require('core-js/modules/es6.weak-set');
//require('core-js/modules/es6.reflect.apply');
//require('core-js/modules/es6.reflect.construct');
//require('core-js/modules/es6.reflect.define-property');
//require('core-js/modules/es6.reflect.delete-property');
//require('core-js/modules/es6.reflect.enumerate');
//require('core-js/modules/es6.reflect.get');
//require('core-js/modules/es6.reflect.get-own-property-descriptor');
//require('core-js/modules/es6.reflect.get-prototype-of');
//require('core-js/modules/es6.reflect.has');
//require('core-js/modules/es6.reflect.is-extensible');
//require('core-js/modules/es6.reflect.own-keys');
//require('core-js/modules/es6.reflect.prevent-extensions');
//require('core-js/modules/es6.reflect.set');
//require('core-js/modules/es6.reflect.set-prototype-of');
//require('core-js/modules/es7.array.includes');
//require('core-js/modules/es7.string.at');
//require('core-js/modules/es7.string.pad-left');
//require('core-js/modules/es7.string.pad-right');
//require('core-js/modules/es7.string.trim-left');
//require('core-js/modules/es7.string.trim-right');
//require('core-js/modules/es7.regexp.escape');
//require('core-js/modules/es7.object.get-own-property-descriptors');
//require('core-js/modules/es7.object.values');
//require('core-js/modules/es7.object.entries');
//require('core-js/modules/es7.map.to-json');
//require('core-js/modules/es7.set.to-json');
//require('core-js/modules/js.array.statics');
//require('core-js/modules/web.timers');
//require('core-js/modules/web.immediate');
//require('core-js/modules/web.dom.iterable');
/** @const */
module.exports = require('core-js/modules/$.core');