1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 07:14:17 +01:00

Fix finder.

--HG--
branch : key-processing
This commit is contained in:
Kris Maglione
2011-01-26 03:02:05 -05:00
parent c284e1ced8
commit 7bf57e2355
4 changed files with 26 additions and 27 deletions

View File

@@ -818,7 +818,7 @@ memoize(Class.prototype, "closure", function () {
iter(properties(this), properties(this, true)).forEach(function (k) {
if (!this.__lookupGetter__(k) && callable(this[k]))
closure[k] = closure(this[k]);
else if (!(k in closure || k in Object.prototype))
else if (!(k in closure))
Object.defineProperty(closure, k, {
get: function get_proxy() self[k],
set: function set_proxy(val) self[k] = val,