mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 21:18:00 +01:00
Remove unnecessary use of values() when iterating over arrays.
This commit is contained in:
@@ -447,7 +447,7 @@ var Editor = Module("editor", XPCOM(Ci.nsIEditActionListener, ModuleBase), {
|
||||
if (!keepFocus)
|
||||
dactyl.focus(textBox);
|
||||
|
||||
for (let group of values(blink.concat(blink, ""))) {
|
||||
for (let group of blink.concat(blink, "")) {
|
||||
highlight.highlightNode(textBox, origGroup + " " + group);
|
||||
|
||||
yield promises.sleep(100);
|
||||
|
||||
Reference in New Issue
Block a user