File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
apps/nativescript-demo-ng/src
packages/angular/polyfills/src Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ import '@nativescript/angular/polyfills';
1111 * Zone.js and patches
1212 */
1313// Add pre-zone.js patches needed for the NativeScript platform
14- import '@nativescript/zone-js/dist/pre-zone-polyfills' ;
14+ // import '@nativescript/zone-js/dist/pre-zone-polyfills';
1515
16- // Zone JS is required by default for Angular itself
17- import 'zone.js' ;
16+ // // Zone JS is required by default for Angular itself
17+ // import 'zone.js';
1818
19- // Add NativeScript specific Zone JS patches
20- import '@nativescript/zone-js' ;
19+ // // Add NativeScript specific Zone JS patches
20+ // import '@nativescript/zone-js';
Original file line number Diff line number Diff line change @@ -30,3 +30,5 @@ const polyfilledPerformance = getPerformanceObject();
3030for ( const key in polyfilledPerformance ) {
3131 global . performance [ key ] ??= polyfilledPerformance [ key ] ;
3232}
33+
34+ global . queueMicrotask ??= ( fn : ( ) => unknown ) => Promise . resolve ( ) . then ( fn ) ;
You can’t perform that action at this time.
0 commit comments