mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-20 06:32:30 +02:00
Better list option parsing and serialization.
This commit is contained in:
1 parent
fa20629524
commit
0753c9505e
8 files changed
+121
-66
No files matched your search
@@ -474,8 +474,9 @@ function call(fn) {
|
||||
* value of the property.
|
||||
*/
|
||||
function memoize(obj, key, getter) {
|
||||
obj.__defineGetter__(key, function ()
|
||||
Class.replaceProperty(this, key, getter.call(this, key)));
|
||||
obj.__defineGetter__(key, function () (
|
||||
Class.replaceProperty(this, key, null),
|
||||
Class.replaceProperty(this, key, getter.call(this, key))));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user