aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/disqus
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/disqus')
-rw-r--r--recipes/disqus/index.js2
-rw-r--r--recipes/disqus/package.json2
-rw-r--r--recipes/disqus/webview.js8
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/disqus/index.js b/recipes/disqus/index.js
index 23607bd..dd41f72 100644
--- a/recipes/disqus/index.js
+++ b/recipes/disqus/index.js
@@ -1 +1 @@
module.exports = Ferdi => Ferdi; module.exports = Ferdium => Ferdium;
diff --git a/recipes/disqus/package.json b/recipes/disqus/package.json
index 11ce689..6ac125a 100644
--- a/recipes/disqus/package.json
+++ b/recipes/disqus/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "disqus", 2 "id": "disqus",
3 "name": "Disqus", 3 "name": "Disqus",
4 "version": "1.1.2", 4 "version": "1.2.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://disqus.com/home/" 7 "serviceURL": "https://disqus.com/home/"
diff --git a/recipes/disqus/webview.js b/recipes/disqus/webview.js
index fcdd386..2de4b43 100644
--- a/recipes/disqus/webview.js
+++ b/recipes/disqus/webview.js
@@ -1,7 +1,7 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 const getInnerInt = selector => { 2 const getInnerInt = selector => {
3 const element = document.querySelector(selector); 3 const element = document.querySelector(selector);
4 return element && Ferdi.safeParseInt(element.textContent); 4 return element && Ferdium.safeParseInt(element.textContent);
5 }; 5 };
6 6
7 const getMessages = () => { 7 const getMessages = () => {
@@ -10,8 +10,8 @@ module.exports = Ferdi => {
10 getInnerInt('a.has-notifs div.notif-count') || 10 getInnerInt('a.has-notifs div.notif-count') ||
11 0; 11 0;
12 12
13 Ferdi.setBadge(direct); 13 Ferdium.setBadge(direct);
14 }; 14 };
15 15
16 Ferdi.loop(getMessages); 16 Ferdium.loop(getMessages);
17}; 17};