mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 22:24:11 +01:00
Make .closure a Proxy and rename .bound
This commit is contained in:
@@ -463,7 +463,7 @@ var JavaScript = Module("javascript", {
|
||||
}
|
||||
|
||||
this.context.getCache("evalled", Object);
|
||||
this.context.getCache("evalContext", this.closure.newContext);
|
||||
this.context.getCache("evalContext", this.bound.newContext);
|
||||
|
||||
// Okay, have parse stack. Figure out what we're completing.
|
||||
|
||||
@@ -693,7 +693,7 @@ var JavaScript = Module("javascript", {
|
||||
completion: function (dactyl, modules, window) {
|
||||
const { completion } = modules;
|
||||
update(modules.completion, {
|
||||
get javascript() modules.javascript.closure.complete,
|
||||
get javascript() modules.javascript.bound.complete,
|
||||
javascriptCompleter: JavaScript // Backwards compatibility
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user