1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-13 18:25:48 +01:00

Fix displaying the labels of our sidebar entries in :sbar completion before the menu has been opened.

This commit is contained in:
Kris Maglione
2011-01-02 22:17:25 -05:00
parent 3ef94f5861
commit 20906772ce
2 changed files with 5 additions and 5 deletions

View File

@@ -1053,14 +1053,14 @@ function iter(obj) {
let args = arguments;
let res = Iterator(obj);
if (isinstance(args, ["Iterator", "Generator"]))
;
else if (args.length > 1)
if (args.length > 1)
res = (function () {
for (let i = 0; i < args.length; i++)
for (let j in Iterator(args[i]))
for (let j in iter(args[i]))
yield j;
})();
else if (isinstance(obj, ["Iterator", "Generator"]))
;
else if (ctypes && ctypes.CData && obj instanceof ctypes.CData) {
while (obj.constructor instanceof ctypes.PointerType)
obj = obj.contents;