diff options
Diffstat (limited to 'recipes/dingtalk')
-rw-r--r-- | recipes/dingtalk/index.js | 2 | ||||
-rw-r--r-- | recipes/dingtalk/package.json | 2 | ||||
-rw-r--r-- | recipes/dingtalk/webview.js | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/dingtalk/index.js b/recipes/dingtalk/index.js index 23607bd..dd41f72 100644 --- a/recipes/dingtalk/index.js +++ b/recipes/dingtalk/index.js | |||
@@ -1 +1 @@ | |||
module.exports = Ferdi => Ferdi; | module.exports = Ferdium => Ferdium; | ||
diff --git a/recipes/dingtalk/package.json b/recipes/dingtalk/package.json index 4a20a26..9657e25 100644 --- a/recipes/dingtalk/package.json +++ b/recipes/dingtalk/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "dingtalk", | 2 | "id": "dingtalk", |
3 | "name": "Dingtalk", | 3 | "name": "Dingtalk", |
4 | "version": "1.0.25", | 4 | "version": "1.1.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://im.dingtalk.com/", | 7 | "serviceURL": "https://im.dingtalk.com/", |
diff --git a/recipes/dingtalk/webview.js b/recipes/dingtalk/webview.js index 59881cf..621285c 100644 --- a/recipes/dingtalk/webview.js +++ b/recipes/dingtalk/webview.js | |||
@@ -4,7 +4,7 @@ function _interopRequireDefault(obj) { | |||
4 | return obj && obj.__esModule ? obj : { default: obj }; | 4 | return obj && obj.__esModule ? obj : { default: obj }; |
5 | } | 5 | } |
6 | 6 | ||
7 | module.exports = Ferdi => { | 7 | module.exports = Ferdium => { |
8 | let checkIsRun = false; | 8 | let checkIsRun = false; |
9 | const checkHeightAction = () => { | 9 | const checkHeightAction = () => { |
10 | checkIsRun = true; | 10 | checkIsRun = true; |
@@ -34,10 +34,10 @@ module.exports = Ferdi => { | |||
34 | 34 | ||
35 | const getMessages = () => { | 35 | const getMessages = () => { |
36 | const x = document.querySelectorAll('.unread-num em.ng-binding'); | 36 | const x = document.querySelectorAll('.unread-num em.ng-binding'); |
37 | Ferdi.setBadge(x.length > 0 ? x[0].textContent : 0); | 37 | Ferdium.setBadge(x.length > 0 ? x[0].textContent : 0); |
38 | }; | 38 | }; |
39 | 39 | ||
40 | Ferdi.loop(getMessages); | 40 | Ferdium.loop(getMessages); |
41 | 41 | ||
42 | Ferdi.injectCSS(_path.default.join(__dirname, 'style.css')); | 42 | Ferdium.injectCSS(_path.default.join(__dirname, 'style.css')); |
43 | }; | 43 | }; |