We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some of these issues are just me learning how this code works, so feel free to close them without "fixing" ... toolbox-overlay.js calls listTabs:
toolbox-overlay.js
target.client.listTabs(response => {
Then later calls it again inside the arrow function:
target.client.listTabs(({ tabs, selected }) => {
If I understand correctly, the 2nd call could be:
target.client.listTabs((response.tabs, response.selected) => {
❓
That would eliminate a duplicate call to listTabs right?
listTabs
The text was updated successfully, but these errors were encountered:
We could add this to the top of the arrow function to keep function argument names short:
let { tabs, selected } = response;
Sorry, something went wrong.
No branches or pull requests
Some of these issues are just me learning how this code works, so feel free to close them without "fixing" ...
toolbox-overlay.js
calls listTabs:Then later calls it again inside the arrow function:
If I understand correctly, the 2nd call could be:
❓
That would eliminate a duplicate call to
listTabs
right?The text was updated successfully, but these errors were encountered: