Files: 728a54580cd18354d723853825b954659c4e3257 / ftu / index.js
574 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 | settings: require('patch-settings'), |
18 | translations: require('../translations/sync'), |
19 | }, |
20 | { |
21 | app: require('./app') |
22 | } |
23 | ) |
24 | |
25 | const api = entry(sockets, nest({ |
26 | 'ftu.app': 'first' |
27 | })) |
28 | |
29 | document.body.appendChild(api.ftu.app()) |
30 |
Built with git-ssb-web