mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
Add comment about future work.
This commit is contained in:
parent
989a43a9d7
commit
228dbfbb8c
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ nextTab1 = () ->
|
||||||
# TODO: limit to focused window.
|
# TODO: limit to focused window.
|
||||||
nextTab2 = () ->
|
nextTab2 = () ->
|
||||||
# Alternative implementation without list comprehensions.
|
# Alternative implementation without list comprehensions.
|
||||||
|
#
|
||||||
|
# If querying all tabs to get number of tabs is too slow (as if), could
|
||||||
|
# query for index+1 and then test if result array.length == 0.
|
||||||
browser.tabs.query({}).then(
|
browser.tabs.query({}).then(
|
||||||
(tabs) ->
|
(tabs) ->
|
||||||
browser.tabs.query({active: true}).then(
|
browser.tabs.query({active: true}).then(
|
||||||
|
|
Loading…
Add table
Reference in a new issue