Files: 3627ef5bb2d0af90d48c88e2897c15df3cd2dd11 / ftu / index.js
572 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 | // need some modules first |
14 | { |
15 | settings: require('patch-settings'), |
16 | translations: require('../translations/sync'), |
17 | styles: require('../styles') |
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