summaryrefslogtreecommitdiff
path: root/common/modules/base.jsm
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-01-16 22:56:39 -0500
committerKris Maglione <maglione.k@gmail.com>2011-01-16 22:56:39 -0500
commit9e5edb71f220aa875a34dda19272c92facae21b8 (patch)
treee9ffe04ea3149c3d7e9499146e3bf49e42a66e3d /common/modules/base.jsm
parented696fe5c420fecbf050dd87f34d0dafc8d917e8 (diff)
downloadpentadactyl-9e5edb71f220aa875a34dda19272c92facae21b8.tar.gz
Clean some DTD-specific strings out of the top-level config namespace.
Diffstat (limited to 'common/modules/base.jsm')
-rw-r--r--common/modules/base.jsm1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/modules/base.jsm b/common/modules/base.jsm
index bbc3e47a..20874c8f 100644
--- a/common/modules/base.jsm
+++ b/common/modules/base.jsm
@@ -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)