mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-14 06:45:51 +01:00
Allow asynchronous io.system() calls. Fix :help intro.
This commit is contained in:
@@ -616,6 +616,8 @@ function memoize(obj, key, getter) {
|
||||
let get = __lookupGetter__.call(obj, prop);
|
||||
if (get)
|
||||
memoize(res, prop, get);
|
||||
else if (obj[prop] instanceof Class.Property)
|
||||
Object.defineProperty(res, prop, obj[prop].init(prop, obj) || obj[prop]);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user