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 @@ -149,10 +149,8 @@ export class NativeScriptNgZone implements NgZone {
149149 self . shouldCoalesceRunChangeDetection = shouldCoalesceRunChangeDetection ;
150150 self . lastRequestAnimationFrameId = - 1 ;
151151 self . nativeRequestAnimationFrame = function ( cb ) {
152- // const nativeDispatchToMainThread = Utils[Zone.__symbol__('dispatchToMainThread')] || Utils.dispatchToMainThread;
153- // nativeDispatchToMainThread(cb);
154- const nativeDispatchToMainThread = global [ Zone . __symbol__ ( 'setTimeout' ) ] || global . setTimeout ;
155- nativeDispatchToMainThread ( cb , 1000 ) ;
152+ const nativeDispatchToMainThread = Utils [ Zone . __symbol__ ( 'dispatchToMainThread' ) ] || Utils . dispatchToMainThread ;
153+ nativeDispatchToMainThread ( cb ) ;
156154 return currentRafId ++ ;
157155 } ;
158156 forkInnerZoneWithAngularBehavior ( self ) ;
You can’t perform that action at this time.
0 commit comments