| 123456789101112131415161718192021222324252627282930313233 |
- /**
- * @license
- * Copyright Google Inc. All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- (function (global, factory) {
- typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
- typeof define === 'function' && define.amd ? define(factory) :
- (factory());
- }(this, (function () { 'use strict';
- /**
- * @license
- * Copyright Google Inc. All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- Zone.__load_patch('notification', function (global, Zone, api) {
- var Notification = global['Notification'];
- if (!Notification || !Notification.prototype) {
- return;
- }
- var desc = Object.getOwnPropertyDescriptor(Notification.prototype, 'onerror');
- if (!desc || !desc.configurable) {
- return;
- }
- api.patchOnProperties(Notification.prototype, null);
- });
- })));
|