File tree 2 files changed +7
-5
lines changed
apps/nativescript-demo-ng/src
packages/angular/polyfills/src 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';
11
11
* Zone.js and patches
12
12
*/
13
13
// 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';
15
15
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';
18
18
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();
30
30
for ( const key in polyfilledPerformance ) {
31
31
global . performance [ key ] ??= polyfilledPerformance [ key ] ;
32
32
}
33
+
34
+ global . queueMicrotask ??= ( fn : ( ) => unknown ) => Promise . resolve ( ) . then ( fn ) ;
You can’t perform that action at this time.
0 commit comments