Commit fcd257146cdae55476ed97d72632b340f1a21b6c
move translations to first item
Dominic Tarr committed on 8/16/2017, 4:18:49 AMParent: 38e0417253d2dc77736737889d97f936df7f35a0
Files changed
main.js | changed |
main.js | ||
---|---|---|
@@ -9,8 +9,10 @@ | ||
9 | 9 | require('./context-menu') |
10 | 10 | |
11 | 11 | // from more specialized to more general |
12 | 12 | const sockets = combine( |
13 | + //we always need to have translations first! | |
14 | + {translations: require('./translations/sync')}, | |
13 | 15 | { |
14 | 16 | about: require('./about'), |
15 | 17 | app: require('./app'), |
16 | 18 | blob: require('./blob'), |
@@ -18,12 +20,11 @@ | ||
18 | 20 | config: require('./config'), |
19 | 21 | message: require('./message'), |
20 | 22 | router: require('./router'), |
21 | 23 | styles: require('./styles'), |
22 | - translations: require('./translations/sync'), | |
23 | 24 | state: require('./state/obs'), |
24 | 25 | }, |
25 | - require('patch-history'), | |
26 | +// require('patch-history'), | |
26 | 27 | require('patchcore') |
27 | 28 | ) |
28 | 29 | |
29 | 30 | const api = entry(sockets, nest('app.html.app', 'first')) |
@@ -33,4 +34,7 @@ | ||
33 | 34 | // TODO (mix) : once app has swapping pages, attach the app to the page here |
34 | 35 | // document.body.appendChild(app) |
35 | 36 | |
36 | 37 | |
38 | + | |
39 | + | |
40 | + |
Built with git-ssb-web