Skip to content

Commit

Permalink
chore(requestable): window.postMessage works
Browse files Browse the repository at this point in the history
  • Loading branch information
radiorz committed Aug 1, 2024
1 parent b511427 commit 789a0d5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
on(topic, cb) {
window.addEventListener('message', (event) => {
if (event.data.topic !== topic) {
console.log(`topic`, event.data.topic, topic)
return
}
cb(event.data.message)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
window.addEventListener('message', (event) => {
this.source = event.source
if (event.data.topic !== topic) {
console.log(`topic`, event.data.topic, topic)
return
}
cb(event.data.message)
Expand Down

0 comments on commit 789a0d5

Please sign in to comment.