mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-01 05:12:29 +01:00
Allow fallback to en-US for missing files in the selected locale.
This commit is contained in:
@@ -75,7 +75,8 @@ var JavaScript = Module("javascript", {
|
||||
let globals = values(toplevel && this.window === obj ? this.globalNames : []);
|
||||
|
||||
if (toplevel && isObject(obj) && "wrappedJSObject" in obj)
|
||||
yield "wrappedJSObject";
|
||||
if (!set.add(seen, "wrappedJSObject"))
|
||||
yield "wrappedJSObject";
|
||||
|
||||
for (let key in iter(globals, properties(obj, !toplevel, true)))
|
||||
if (!set.add(seen, key))
|
||||
|
||||
Reference in New Issue
Block a user