Files: 8737709db876420b4db1aea9a323d248fd75fe20 / main.js
543 bytesRaw
1 | const combine = require('depject') |
2 | const entry = require('depject/entry') |
3 | const nest = require('depnest') |
4 | |
5 | // polyfills |
6 | require('setimmediate') |
7 | |
8 | // add inspect right click menu |
9 | require('./context-menu') |
10 | |
11 | // from more specialized to more general |
12 | const sockets = combine( |
13 | require('./'), |
14 | require('patch-history'), |
15 | require('patchcore') |
16 | ) |
17 | |
18 | const api = entry(sockets, nest('app.html.app', 'first')) |
19 | |
20 | const app = api.app.html.app() |
21 | |
22 | // TODO (mix) : once app has swapping pages, attach the app to the page here |
23 | // document.body.appendChild(app) |
24 |
Built with git-ssb-web