diff options
author | 2021-07-02 19:49:55 -0600 | |
---|---|---|
committer | 2021-07-03 07:19:55 +0530 | |
commit | 33123c354b79f7951423dd75097b11e7eb075f99 (patch) | |
tree | 29f6e857f02d0e0fc67d89a657a54a865ed5538a /src/webview/contextMenuBuilder.js | |
parent | Minor refactoring to move all runtime configs from 'config.js' into 'environm... (diff) | |
download | ferdium-app-33123c354b79f7951423dd75097b11e7eb075f99.tar.gz ferdium-app-33123c354b79f7951423dd75097b11e7eb075f99.tar.zst ferdium-app-33123c354b79f7951423dd75097b11e7eb075f99.zip |
Upgrade various dependencies to latest part 2 (#1557)
* Upgrade various dependencies to latest, remove unnecessary electron-hunspell
- upgrade eslint and friends to latest
- remove deprecated 'node-sass' in favor of 'sass'
- disable new rules from 'eslint-config-airbnb' that are conflicting with current code style
- add workspace config for 'vscode' that silences 'experimentalDecorator' warning and forces 'prettier' to single quote
* Run yarn lint to autofix with new ruleset and worked down lint issues to zero
Diffstat (limited to 'src/webview/contextMenuBuilder.js')
-rw-r--r-- | src/webview/contextMenuBuilder.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview/contextMenuBuilder.js b/src/webview/contextMenuBuilder.js index c26f192fe..500a1a653 100644 --- a/src/webview/contextMenuBuilder.js +++ b/src/webview/contextMenuBuilder.js | |||
@@ -64,7 +64,7 @@ module.exports = class ContextMenuBuilder { | |||
64 | this.debugMode = debugMode; | 64 | this.debugMode = debugMode; |
65 | this.processMenu = processMenu; | 65 | this.processMenu = processMenu; |
66 | this.menu = null; | 66 | this.menu = null; |
67 | this.stringTable = Object.assign({}, contextMenuStringTable); | 67 | this.stringTable = { ...contextMenuStringTable }; |
68 | this.getWebContents = () => webContents; | 68 | this.getWebContents = () => webContents; |
69 | } | 69 | } |
70 | 70 | ||