1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-31 15:55:46 +01:00

Clean some DTD-specific strings out of the top-level config namespace.

This commit is contained in:
Kris Maglione
2011-01-16 22:56:39 -05:00
parent ed696fe5c4
commit 9e5edb71f2
2 changed files with 20 additions and 24 deletions

View File

@@ -489,6 +489,7 @@ function call(fn) {
*/
function memoize(obj, key, getter) {
if (arguments.length == 1) {
obj = update({}, obj);
for (let prop in Object.getOwnPropertyNames(obj)) {
let get = objproto.__lookupGetter__.call(obj, prop);
if (get)