Files: eb1f4dc0536fe618895a84955b5f44818876c5e1 / ftu / index.js
533 bytesRaw
1 | const combine = require('depject') |
2 | const entry = require('depject/entry') |
3 | const nest = require('depnest') |
4 | |
5 | |
6 | // polyfills |
7 | require('setimmediate') |
8 | |
9 | // add inspect right click menu |
10 | require('../context-menu') |
11 | |
12 | // from more specialized to more general |
13 | const sockets = combine( |
14 | // need some modules first |
15 | { |
16 | styles: require('../styles'), |
17 | translations: require('../translations/sync'), |
18 | }, |
19 | { |
20 | app: require('./app') |
21 | } |
22 | ) |
23 | |
24 | const api = entry(sockets, nest({ |
25 | 'ftu.app': 'first' |
26 | })) |
27 | |
28 | document.body.appendChild(api.ftu.app()) |
29 |
Built with git-ssb-web