File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/zone.js/lib/zone-spec Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,7 @@ class ProxyZoneSpec implements ZoneSpec {
42
42
this . propertyKeys = Object . keys ( delegateSpec . properties ) ;
43
43
this . propertyKeys . forEach ( ( k ) => this . properties [ k ] = delegateSpec . properties ! [ k ] ) ;
44
44
}
45
- // if set a new delegateSpec, shoulde check whether need to
46
- // trigger hasTask or not
45
+ // if a new delegateSpec was set, check if we need to trigger hasTask
47
46
if ( isNewDelegate && this . lastTaskState &&
48
47
( this . lastTaskState . macroTask || this . lastTaskState . microTask ) ) {
49
48
this . isNeedToTriggerHasTask = true ;
@@ -90,7 +89,7 @@ class ProxyZoneSpec implements ZoneSpec {
90
89
. join ( ',' ) ;
91
90
return `type: ${ task . type } , source: ${ task . source } , args: {${ dataInfo } }` ;
92
91
} ) ;
93
- const pendingTasksInfo = '--Pendng async tasks are: [' + taskInfo + ']' ;
92
+ const pendingTasksInfo = '--Pending async tasks are: [' + taskInfo + ']' ;
94
93
// clear tasks
95
94
this . tasks = [ ] ;
96
95
You can’t perform that action at this time.
0 commit comments