From 251e6ccef18a5cfa27ded8282f17f0ad686012c0 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 30 Sep 2010 10:57:22 -0400 Subject: [PATCH] Fix revision 07791c4ab465 again. --- common/content/javascript.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/content/javascript.js b/common/content/javascript.js index 3dfe7eae..59b12c1a 100644 --- a/common/content/javascript.js +++ b/common/content/javascript.js @@ -367,7 +367,7 @@ const JavaScript = Module("javascript", { // TODO: Make this a generic completion helper function. for (let [, obj] in Iterator(objects)) this.context.fork(obj[1], this._top.offset, this, this._fill, - update(args, { + update({}, args, { obj: obj[0], name: obj[1] })); @@ -377,7 +377,7 @@ const JavaScript = Module("javascript", { for (let [, obj] in Iterator(objects)) this.context.fork(obj[1] + "/prototypes", this._top.offset, this, this._fill, - update(args, { + update({}, args, { obj: obj[0], name: obj[1] + " (prototypes)", completer: function (a, b) compl(a, b, true) @@ -385,7 +385,7 @@ const JavaScript = Module("javascript", { for (let [, obj] in Iterator(objects)) this.context.fork(obj[1] + "/substrings", this._top.offset, this, this._fill, - update(args, { + update({}, args, { obj: obj[0], name: obj[1] + " (substrings)", anchored: false, @@ -394,7 +394,7 @@ const JavaScript = Module("javascript", { for (let [, obj] in Iterator(objects)) this.context.fork(obj[1] + "/prototypes/substrings", this._top.offset, this, this._fill, - update(args, { + update({}, args, { obj: obj[0], name: obj[1] + " (prototype substrings)", anchored: false,