Commit dde331f9144fc97dc07e6a70e07625fab91fa875
decorate the window
Dominic Tarr committed on 4/19/2017, 12:10:42 PMParent: b340de1dd8760f0750c0d0c076f90664675b0e31
Files changed
app/html/app.js | changed |
app/html/app.js | ||
---|---|---|
@@ -17,8 +17,9 @@ | ||
17 | 17 … | page: 'first', |
18 | 18 … | searchBar: 'first' |
19 | 19 … | }, |
20 | 20 … | sync: { |
21 … | + window: 'reduce', | |
21 | 22 … | catchKeyboardShortcut: 'first' |
22 | 23 … | } |
23 | 24 … | }, |
24 | 25 … | 'styles.css': 'reduce' |
@@ -27,8 +28,9 @@ | ||
27 | 28 … | exports.create = function (api) { |
28 | 29 … | return nest('app.html.app', app) |
29 | 30 … | |
30 | 31 … | function app () { |
32 … | + window = api.app.sync.window(window) | |
31 | 33 … | const css = values(api.styles.css()).join('\n') |
32 | 34 … | insertCss(css) |
33 | 35 … | |
34 | 36 … | const handleSelection = (path, change) => { |
@@ -93,4 +95,5 @@ | ||
93 | 95 … | const keys = Object.keys(object) |
94 | 96 … | return keys.map(k => object[k]) |
95 | 97 … | } |
96 | 98 … | |
99 … | + |
Built with git-ssb-web