diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-05-02 13:04:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-02 13:04:17 -0400 |
commit | d581bffa15419b3b55773f1ed08a2e787e574f1f (patch) | |
tree | 2155e1db07d0417a9e964a70c2c3fb3fba5b7833 /ext/bg | |
parent | c4ea9321dcffbda9004461a7b0027cf5c893f3c0 (diff) |
Style fixes (#494)
* Place multi-line expression parentheses on the correct line
* Add function-paren-newline eslint rule
* Add some additional eslint rules
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/js/backend.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index ed01c8df..43fa8190 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -896,7 +896,9 @@ class Backend { await Backend._focusTab(tab); if (queryParams.query) { await new Promise((resolve) => chrome.tabs.sendMessage( - tab.id, {action: 'searchQueryUpdate', params: {text: queryParams.query}}, resolve + tab.id, + {action: 'searchQueryUpdate', params: {text: queryParams.query}}, + resolve )); } return true; |