Skip to content
This repository was archived by the owner on Feb 6, 2022. It is now read-only.

Commit 3529673

Browse files
Merge pull request #66 from NorthernOceanS/issue42
Fix some bugs.
2 parents e42b7c6 + 970a56b commit 3529673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

create-event-center.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class FakeEventCenter{
99
}
1010
broadcastMessage(data){
1111
for(let port of this.ports) {
12-
setTimeout(()=> port.onmessage(event), 0);
12+
setTimeout(()=> port.onmessage({data}), 0);
1313
}
1414
}
1515
}

0 commit comments

Comments
 (0)