Commit 59b683aa authored by yann300's avatar yann300

listen on plugin msg

parent 4f5f3f45
......@@ -46,6 +46,11 @@ class PluginManager {
}))
}
})
window.addEventListener('message', (event) => {
if (event.type === 'message' && this.inFocus === event.origin) {
}
}, false)
}
register (desc, content) {
this.plugins[desc.title] = {content, origin: desc.url}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment