From 6a12a29e1224939aa115a14715a4415e14b0b389 Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Thu, 19 Jan 2023 22:50:09 +0000 Subject: feat: add several recipes (#293) --- recipes/google-docs/icon.svg | 187 +++++++++++++++++++++++++++++++++++++++ recipes/google-docs/index.js | 1 + recipes/google-docs/package.json | 9 ++ recipes/google-docs/webview.js | 9 ++ 4 files changed, 206 insertions(+) create mode 100644 recipes/google-docs/icon.svg create mode 100644 recipes/google-docs/index.js create mode 100644 recipes/google-docs/package.json create mode 100644 recipes/google-docs/webview.js (limited to 'recipes/google-docs') diff --git a/recipes/google-docs/icon.svg b/recipes/google-docs/icon.svg new file mode 100644 index 0000000..c47410f --- /dev/null +++ b/recipes/google-docs/icon.svg @@ -0,0 +1,187 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/recipes/google-docs/index.js b/recipes/google-docs/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/google-docs/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => Ferdium; diff --git a/recipes/google-docs/package.json b/recipes/google-docs/package.json new file mode 100644 index 0000000..8afbd1a --- /dev/null +++ b/recipes/google-docs/package.json @@ -0,0 +1,9 @@ +{ + "id": "google-docs", + "name": "Google Docs", + "version": "2.2.0", + "license": "MIT", + "config": { + "serviceURL": "https://docs.google.com/document/u/0/" + } +} diff --git a/recipes/google-docs/webview.js b/recipes/google-docs/webview.js new file mode 100644 index 0000000..56a20b6 --- /dev/null +++ b/recipes/google-docs/webview.js @@ -0,0 +1,9 @@ +const _path = _interopRequireDefault(require('path')); + +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; +} + +module.exports = Ferdium => { + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); +}; -- cgit v1.2.3-70-g09d2