diff options
author | 2021-07-31 15:28:23 +0530 | |
---|---|---|
committer | 2021-07-31 15:28:23 +0530 | |
commit | 97697e3d069972844b2912a93022f4a4904a40d6 (patch) | |
tree | 53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/ciscospark/webview.js | |
parent | Allow any url in the custom-service to allow for sites like 'http://translate... (diff) | |
download | ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip |
Fixed eslintrc as root for this folder; Reformatted all files.
Diffstat (limited to 'recipes/ciscospark/webview.js')
-rw-r--r-- | recipes/ciscospark/webview.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/recipes/ciscospark/webview.js b/recipes/ciscospark/webview.js index 4fa94da..7d7bae9 100644 --- a/recipes/ciscospark/webview.js +++ b/recipes/ciscospark/webview.js | |||
@@ -1,8 +1,6 @@ | |||
1 | 'use strict'; | 1 | const _path = require('path'); |
2 | 2 | ||
3 | var _path = require('path'); | 3 | const _path2 = _interopRequireDefault(_path); |
4 | |||
5 | var _path2 = _interopRequireDefault(_path); | ||
6 | 4 | ||
7 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | 5 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
8 | 6 | ||
@@ -27,4 +25,4 @@ module.exports = Franz => { | |||
27 | Franz.loop(getMessages); | 25 | Franz.loop(getMessages); |
28 | Franz.injectCSS(_path2.default.join(__dirname, 'service.css')); | 26 | Franz.injectCSS(_path2.default.join(__dirname, 'service.css')); |
29 | }; | 27 | }; |
30 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNpc2Nvc3Bhcmsvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJVTlJFQURfQ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