Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Fix for logging correct handleId #648

Merged
merged 1 commit into from
Mar 13, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/counting.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ <h1>Counting Pending Tasks</h1>
const countingZoneSpec = Zone['countingZoneSpec'];
const myCountingZone = Zone.current.fork(countingZoneSpec).fork({
onScheduleTask(parent, current, target, task) {
console.log('Scheduled ' + task.source + ' => ' + task.data.handleId);
parent.scheduleTask(target, task);
console.log('Scheduled ' + task.source + ' => ' + task.data.handleId);
outputElem.innerText = countingZoneSpec.counter();
},
onInvokeTask(parent, current, target, task) {
Expand Down