You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
1.4 KiB
13 lines
1.4 KiB
"use strict";
|
|
/**
|
|
* @license Angular v12.0.0-next.0
|
|
* (c) 2010-2020 Google LLC. https://angular.io/
|
|
* License: MIT
|
|
*/
|
|
/**
|
|
* @license
|
|
* Copyright Google LLC 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("bluebird",(e,n,o)=>{n[n.__symbol__("bluebird")]=function t(d){["then","spread","finally"].forEach(e=>{o.patchMethod(d.prototype,e,e=>(o,t)=>{const r=n.current;for(let e=0;e<t.length;e++){const n=t[e];"function"==typeof n&&(t[e]=function(){const e=this,o=arguments;return new d((t,d)=>{r.scheduleMicroTask("Promise.then",()=>{try{t(n.apply(e,o))}catch(e){d(e)}})})})}return e.apply(o,t)})}),"undefined"!=typeof window?window.addEventListener("unhandledrejection",(function(e){const n=e.detail&&e.detail.reason;n&&n.isHandledByZone&&(e.preventDefault(),"function"==typeof e.stopImmediatePropagation&&e.stopImmediatePropagation())})):"undefined"!=typeof process&&process.on("unhandledRejection",(e,n)=>{if(e&&e.isHandledByZone){const e=process.listeners("unhandledRejection");e&&(process.removeAllListeners("unhandledRejection"),process.nextTick(()=>{e.forEach(e=>process.on("unhandledRejection",e))}))}}),d.onPossiblyUnhandledRejection((function(e,t){try{n.current.runGuarded(()=>{throw e.isHandledByZone=!0,e})}catch(e){e.isHandledByZone=!1,o.onUnhandledError(e)}})),e.Promise=d}});
|