commit 5e6c90d87387d823efbaf05b90b9490b680a0822 parent 3c6b0d99c3db228e3a4c00a79531af971fd8b581 Author: Simon Kornblith <simon@simonster.com> Date: Tue, 1 Jan 2013 19:05:46 -0800 Merge pull request #221 from aurimasv/misc Misc changes Diffstat:
| M | chrome/content/zotero/xpcom/translation/translate_firefox.js | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/translation/translate_firefox.js b/chrome/content/zotero/xpcom/translation/translate_firefox.js @@ -146,8 +146,10 @@ Zotero.Translate.SandboxManager.prototype = { * Imports an object into the sandbox * * @param {Object} object Object to be imported (under Zotero) - * @param {Boolean} passTranslateAsFirstArgument Whether the translate instance should be passed - * as the first argument to the function. + * @param {*} [passTranslateAsFirstArgument] An argument to pass + * as the first argument to the function. + * @param {Object} [attachTo] The object to attach `object` to. + * Defaults to this.sandbox.Zotero */ "importObject":function(object, passAsFirstArgument, attachTo) { if(!attachTo) attachTo = this.sandbox.Zotero;