1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 15:44:12 +01:00

Fix <C-v> in PASS THROUGH mode. Closes issue #223.

This commit is contained in:
Kris Maglione
2010-12-31 17:19:40 -05:00
parent ce6d472a76
commit 3c80d33c67
4 changed files with 6 additions and 4 deletions

View File

@@ -613,10 +613,10 @@ function call(fn) {
* value of the property.
*/
function memoize(obj, key, getter) {
obj.__defineGetter__(key, function replace() (
obj.__defineGetter__(key, function g_replaceProperty() (
Class.replaceProperty(this.instance || this, key, null),
Class.replaceProperty(this.instance || this, key, getter.call(this, key))));
obj.__defineSetter__(key, function replace(val)
obj.__defineSetter__(key, function s_replaceProperty(val)
Class.replaceProperty(this.instance || this, key, val));
}