File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -153,10 +153,8 @@ export class NativeScriptNgZone implements NgZone {
153153 self . shouldCoalesceRunChangeDetection = shouldCoalesceRunChangeDetection ;
154154 self . lastRequestAnimationFrameId = - 1 ;
155155 self . nativeRequestAnimationFrame = function ( cb ) {
156- // const nativeDispatchToMainThread = Utils[Zone.__symbol__('dispatchToMainThread')] || Utils.dispatchToMainThread;
157- // nativeDispatchToMainThread(cb);
158- const nativeDispatchToMainThread = global [ Zone . __symbol__ ( 'setTimeout' ) ] || global . setTimeout ;
159- nativeDispatchToMainThread ( cb , 1000 ) ;
156+ const nativeDispatchToMainThread = Utils [ Zone . __symbol__ ( 'dispatchToMainThread' ) ] || Utils . dispatchToMainThread ;
157+ nativeDispatchToMainThread ( cb ) ;
160158 return currentRafId ++ ;
161159 } ;
162160 forkInnerZoneWithAngularBehavior ( self ) ;
You can’t perform that action at this time.
0 commit comments