diff options
Diffstat (limited to 'recipes/workplace')
-rw-r--r-- | recipes/workplace/index.js | 4 | ||||
-rw-r--r-- | recipes/workplace/webview.js | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/recipes/workplace/index.js b/recipes/workplace/index.js index e8243fb..258da41 100644 --- a/recipes/workplace/index.js +++ b/recipes/workplace/index.js | |||
@@ -1,3 +1 @@ | |||
1 | "use strict"; | module.exports = Franz => Franz; | |
2 | |||
3 | module.exports = Franz => Franz; \ No newline at end of file | ||
diff --git a/recipes/workplace/webview.js b/recipes/workplace/webview.js index a26515e..af2af89 100644 --- a/recipes/workplace/webview.js +++ b/recipes/workplace/webview.js | |||
@@ -1,5 +1,3 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | const path = require('path'); | 1 | const path = require('path'); |
4 | 2 | ||
5 | module.exports = Franz => { | 3 | module.exports = Franz => { |
@@ -32,7 +30,7 @@ module.exports = Franz => { | |||
32 | Franz.loop(getMessages); | 30 | Franz.loop(getMessages); |
33 | localStorage._cs_desktopNotifsEnabled = JSON.stringify({ | 31 | localStorage._cs_desktopNotifsEnabled = JSON.stringify({ |
34 | __t: new Date().getTime(), | 32 | __t: new Date().getTime(), |
35 | __v: true | 33 | __v: true, |
36 | }); | 34 | }); |
37 | 35 | ||
38 | if (typeof Franz.onNotify === 'function') { | 36 | if (typeof Franz.onNotify === 'function') { |
@@ -48,4 +46,4 @@ module.exports = Franz => { | |||
48 | return notification; | 46 | return notification; |
49 | }); | 47 | }); |
50 | } | 48 | } |
51 | }; \ No newline at end of file | 49 | }; |