detach SSRd <head> contents

This commit is contained in:
Rich Harris
2017-12-13 20:24:58 -05:00
parent 22d3cb2b1e
commit bffffe0035
3 changed files with 17 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
const router = {
const app = {
init(callback) {
window.addEventListener('click', event => {
let a = event.target;
@@ -19,6 +19,4 @@ const router = {
}
};
window.router = router;
export default router;
export default app;