aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/simplenote
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
commit18801ed0c02627e87639dc0848cab44dacc18be2 (patch)
tree15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/simplenote
parentRemove deprecated webPreference flag (diff)
downloadferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.gz
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.zst
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.zip
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
Diffstat (limited to 'recipes/simplenote')
-rw-r--r--recipes/simplenote/index.js2
-rw-r--r--recipes/simplenote/package.json2
-rw-r--r--recipes/simplenote/webview.js8
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/simplenote/index.js b/recipes/simplenote/index.js
index 15ecf81..dd41f72 100644
--- a/recipes/simplenote/index.js
+++ b/recipes/simplenote/index.js
@@ -1 +1 @@
module.exports = Ferdi => class simplenote extends Ferdi {}; module.exports = Ferdium => Ferdium;
diff --git a/recipes/simplenote/package.json b/recipes/simplenote/package.json
index cd13d5c..00e0fb0 100644
--- a/recipes/simplenote/package.json
+++ b/recipes/simplenote/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "simplenote", 2 "id": "simplenote",
3 "name": "Simplenote", 3 "name": "Simplenote",
4 "version": "1.1.2", 4 "version": "1.2.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://app.simplenote.com/" 7 "serviceURL": "https://app.simplenote.com/"
diff --git a/recipes/simplenote/webview.js b/recipes/simplenote/webview.js
index ae392f5..b4180e4 100644
--- a/recipes/simplenote/webview.js
+++ b/recipes/simplenote/webview.js
@@ -1,4 +1,4 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 const getMessages = () => { 2 const getMessages = () => {
3 let count = 0; 3 let count = 0;
4 4
@@ -11,12 +11,12 @@ module.exports = Ferdi => {
11 '.nav-item--messaging .nav-item__badge-count', 11 '.nav-item--messaging .nav-item__badge-count',
12 ); 12 );
13 if (element) { 13 if (element) {
14 count = Ferdi.safeParseInt(element.textContent); 14 count = Ferdium.safeParseInt(element.textContent);
15 } 15 }
16 } 16 }
17 17
18 Ferdi.setBadge(count); 18 Ferdium.setBadge(count);
19 }; 19 };
20 20
21 Ferdi.loop(getMessages); 21 Ferdium.loop(getMessages);
22}; 22};