mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-23 08:33:32 +01:00
Fix link listing in :hi output.
This commit is contained in:
@@ -153,6 +153,9 @@ var Overlay = Module("Overlay", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReferen
|
||||
if (!(id in obj && obj[id]))
|
||||
obj[id] = {};
|
||||
|
||||
if (arguments.length == 1)
|
||||
return obj[id];
|
||||
|
||||
if (obj[id][key] === undefined)
|
||||
if (constructor === undefined || callable(constructor))
|
||||
obj[id][key] = (constructor || Array)();
|
||||
|
||||
Reference in New Issue
Block a user