From 27ffda874e6808a7815ea7844355802afaad9599 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 1 Nov 2021 15:14:04 +0530 Subject: chore: remove empty 'service.css' from recipes. Remove 'README.md' from the creation script --- recipes/stackoverflow-chat/README.md | 2 -- recipes/stackoverflow-chat/package.json | 2 +- recipes/stackoverflow-chat/service.css | 1 - recipes/stackoverflow-chat/webview.js | 8 -------- 4 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 recipes/stackoverflow-chat/README.md delete mode 100644 recipes/stackoverflow-chat/service.css (limited to 'recipes/stackoverflow-chat') diff --git a/recipes/stackoverflow-chat/README.md b/recipes/stackoverflow-chat/README.md deleted file mode 100644 index a5aadcd..0000000 --- a/recipes/stackoverflow-chat/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# stackoverflow-chat for Ferdi -This is a Ferdi recipe for stackoverflow-chat diff --git a/recipes/stackoverflow-chat/package.json b/recipes/stackoverflow-chat/package.json index 4cbddeb..81efd40 100644 --- a/recipes/stackoverflow-chat/package.json +++ b/recipes/stackoverflow-chat/package.json @@ -1,7 +1,7 @@ { "id": "stackoverflow-chat", "name": "Stackoverflow chat", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "config": { "serviceURL": "https://chat.stackoverflow.com/", diff --git a/recipes/stackoverflow-chat/service.css b/recipes/stackoverflow-chat/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/stackoverflow-chat/service.css +++ /dev/null @@ -1 +0,0 @@ -/* Insert custom styles you want to insert here */ \ No newline at end of file diff --git a/recipes/stackoverflow-chat/webview.js b/recipes/stackoverflow-chat/webview.js index 4157600..622d764 100644 --- a/recipes/stackoverflow-chat/webview.js +++ b/recipes/stackoverflow-chat/webview.js @@ -1,9 +1,3 @@ -var _path = _interopRequireDefault(require('path')); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; -} - module.exports = Ferdi => { const getMessages = () => { const unreadSpan = document.querySelector( @@ -16,6 +10,4 @@ module.exports = Ferdi => { Ferdi.setBadge(directCount); }; Ferdi.loop(getMessages); - - Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); }; -- cgit v1.2.3-54-g00ecf