1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-27 17:33:31 +01:00

Fix some more unfortunate bugs. Yay tests.

This commit is contained in:
Kris Maglione
2011-02-03 10:20:17 -05:00
parent 440f4872b1
commit b2358eb152
3 changed files with 13 additions and 8 deletions

View File

@@ -20,14 +20,14 @@ var RangeFinder = Module("rangefinder", {
this.lastFindPattern = "";
},
get commandline() this.modules.commandline,
get modes() this.modules.modes,
get options() this.modules.options,
get rangeFind() modules.buffer.localStore.rangeFind,
set rangeFind(val) modules.buffer.localStore.rangeFind = val
}),
get commandline() this.modules.commandline,
get modes() this.modules.modes,
get options() this.modules.options,
openPrompt: function (mode) {
this.CommandMode(mode).open();
@@ -200,9 +200,9 @@ var RangeFinder = Module("rangefinder", {
get prompt() this.mode === modules.modes.FIND_BACKWARD ? "?" : "/",
onCancel: this.closure.onCancel,
onChange: this.closure.onChange,
onSubmit: this.closure.onSubmit
get onCancel() modules.rangefinder.closure.onCancel,
get onChange() modules.rangefinder.closure.onChange,
get onSubmit() modules.rangefinder.closure.onSubmit
});
},
mappings: function (dactyl, modules, window) {