Merge pull request #221 from aurimasv/misc

Misc changes
This commit is contained in:
Simon Kornblith 2013-01-01 19:05:46 -08:00
commit 5e6c90d873

View file

@ -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
* @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;