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:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user