1
0
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:
Kris Maglione
2011-08-10 00:00:39 -04:00
parent 9bdb4411af
commit f58f70fd98
3 changed files with 29 additions and 17 deletions

View File

@@ -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;
}