aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/workplace
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
commit97697e3d069972844b2912a93022f4a4904a40d6 (patch)
tree53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/workplace
parentAllow any url in the custom-service to allow for sites like 'http://translate... (diff)
downloadferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip
Fixed eslintrc as root for this folder; Reformatted all files.
Diffstat (limited to 'recipes/workplace')
-rw-r--r--recipes/workplace/index.js4
-rw-r--r--recipes/workplace/webview.js6
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
3module.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
3const path = require('path'); 1const path = require('path');
4 2
5module.exports = Franz => { 3module.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};