Real Dreams
Real Dreams

Reputation: 18010

jQuery and Zotero

Is it possible to use jQuery in Zotero translators?

update

problem is that translators runs in sandbox, and there is no document object so jquery or sizzle returns following error: ReferenceError: document is not defined

Upvotes: 1

Views: 192

Answers (1)

adam.smith
adam.smith

Reputation: 31

I don't think you can use jQuery in Zotero translators, no. My understanding is that the library would have to be included with Zotero for that and it's not. Best idea is probably to describe what you're trying to achieve exactly and post to zotero-dev, there might well be a workable alternative. Also note that Adam's translator writing guide is quite outdated at this point, so I wouldn't recommend writing a new translator based on it. There is no comprehensive documentation currently, though this page has quite a bit: http://www.zotero.org/support/dev/translators/coding

Upvotes: 2

Related Questions