https://github.com/angular/angular
Raw File
Tip revision: 7acf3bece457e238bb38a83721bbe0a64376a07c authored by Dylan Hunn on 06 October 2021, 01:07:57 UTC
release: cut the v13.0.0-next.12 release (#43726)
Tip revision: 7acf3be
custom-elements-es5-polyfills.js
/**
 * Custom Elements polyfills for browsers that natively support Custom Elements but not ES2015
 * modules.
 *
 * NOTE:
 * Chrome, Firefox and Safari should not need these, because they added support for ES2015 modules
 * before Custom Elements. It is still required for some other (less common) browsers:
 *   - UC browser for android 11.8 (~3.5% global usage)
 *   - Samsung browser 5.0-8.1 (~0.43% global usage)
 *   - Opera 41-47 (~0.02% global usage)
 */
// @ts-nocheck

require('core-js/modules/es.reflect.construct');  // Required by `native-shim.js`.
require('@webcomponents/custom-elements/src/native-shim');
back to top