source: trip-planner-front/node_modules/zone.js/fesm2015/zone-bluebird.min.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.4 KB
Line 
1"use strict";
2/**
3 * @license Angular v12.0.0-next.0
4 * (c) 2010-2020 Google LLC. https://angular.io/
5 * License: MIT
6 */
7/**
8 * @license
9 * Copyright Google LLC All Rights Reserved.
10 *
11 * Use of this source code is governed by an MIT-style license that can be
12 * found in the LICENSE file at https://angular.io/license
13 */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}});
Note: See TracBrowser for help on using the repository browser.