mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -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.
|
||||
nextTab2 = () ->
|
||||
# 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(
|
||||
(tabs) ->
|
||||
browser.tabs.query({active: true}).then(
|
||||
|
|
Loading…
Add table
Reference in a new issue