@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
export function patchCustomElements(_global: any, api: _ZonePrivate) {
|
||||
const {isBrowser, isMix} = api.getGlobalObjects() !;
|
||||
const {isBrowser, isMix} = api.getGlobalObjects()!;
|
||||
if ((!isBrowser && !isMix) || !_global['customElements'] || !('customElements' in _global)) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user