Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dev:zotero_2.1_and_zotero_standalone_for_developers [2011/02/05 19:53] – simon | dev:zotero_2.1_and_zotero_standalone_for_developers [2011/02/08 23:48] – simon | ||
---|---|---|---|
Line 33: | Line 33: | ||
< | < | ||
- | ====== Changes | + | |
+ | ===== Locate Engines ===== | ||
+ | |||
+ | Zotero 2.1b6 and later support extensible locate engines. For further details, see [[Creating Locate Engines using OpenSearch]]. | ||
+ | |||
+ | ====== Changes | ||
===== Changes to translators ===== | ===== Changes to translators ===== | ||
Zotero Everywhere will soon allow translators to operate outside of Firefox/ | Zotero Everywhere will soon allow translators to operate outside of Firefox/ | ||
* Firefox-specific JavaScript must be avoided. This includes | * Firefox-specific JavaScript must be avoided. This includes | ||
- | * E4X | ||
* "for each" loops | * "for each" loops | ||
* array comprehensions | * array comprehensions | ||
* destructuring assignment | * destructuring assignment | ||
* several other features | * several other features | ||
+ | |||
+ | * Some E4X functionality may not be available, although as much as possible will be preserved. As of Zotero 2.1b6, Zotero also offers DOM XML interfaces to translators. | ||
| | ||
- | * Zotero.Utilities.retrieveDocument() and Zotero.Utilities.retrieveSource() should be avoided if possible. | + | * Zotero.Utilities.retrieveDocument() and Zotero.Utilities.retrieveSource() should be avoided if possible. |
- | * Translate.getTranslatorObject() should now be called with a callback function as an argument, which will receive the translator object when it is available. | + | * Translate.getTranslatorObject() should now be called with a callback function as an argument, which will receive the translator object when it is available. This is backwards compatible with Zotero 2.1b6 and later. |
- | * Zotero.selectItems() should now be called with a callback function as an argument, which will receive the list of selected items when it is available. Translators may still use Zotero.selectItems() synchronously, | + | * Zotero.selectItems() should now be called with a callback function as an argument, which will receive the list of selected items when it is available. Translators may still use Zotero.selectItems() synchronously, |