mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 18:54:12 +01:00
Clean up some old-style iterator gunk.
This commit is contained in:
@@ -449,9 +449,9 @@ var Highlights = Module("Highlight", {
|
||||
},
|
||||
javascript: function initJavascript(dactyl, modules, window) {
|
||||
modules.JavaScript.setCompleter(["get", "set"].map(m => highlight[m]),
|
||||
[ (context, obj, args) => Iterator(highlight.highlight) ]);
|
||||
[ (context, obj, args) => iter(highlight.highlight) ]);
|
||||
modules.JavaScript.setCompleter(["highlightNode"].map(m => highlight[m]),
|
||||
[ null, (context, obj, args) => Iterator(highlight.highlight) ]);
|
||||
[ null, (context, obj, args) => iter(highlight.highlight) ]);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user