Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
dev:client_coding:changes_in_zotero_2.1_and_zotero_standalone [2011/08/21 04:35] – simon | dev:client_coding:changes_in_zotero_2.1_and_zotero_standalone [2011/08/21 04:42] – simon | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | Moved to [[Changes in Zotero 2.1]] and [[Changes in Zotero |
- | + | ||
- | ===== Changes to citation API ===== | + | |
- | + | ||
- | With the introduction of citeproc-js, | + | |
- | developers should use Zotero.Style.csl to acquire a citeproc-js engine instance for citation formatting. < | + | |
- | + | ||
- | ===== Changes to interface-related code ===== | + | |
- | + | ||
- | Zotero as a tab and Zotero Standalone have required us to further abstract the interface layer. While the code for the interface has changed little, and most overlays should continue to work, as of the present Zotero trunk, plug-ins and add-ons should now overlay zoteroPane.xul instead of browser.xul or overlay.xul in chrome.manifest, | + | |
- | + | ||
- | < | + | |
- | + | ||
- | ===== Changes to translators ===== | + | |
- | + | ||
- | * Several functions in Zotero.Utilities have been eliminated, as they were essential duplications of built-in JavaScript methods. | + | |
- | + | ||
- | * Zotero.configure() and Zotero.displayOptions() no longer exist. Instead, translators should specify config and display options in the metadata block at the top of the translator, e.g. < | + | |
- | " | + | |
- | [...] | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | }</ | + | |
- | + | ||
- | * It is no longer necessary to specify " | + | |
- | + | ||
- | * Import | + | |
- | + | ||
- | ===== Changes to translate interface ===== | + | |
- | + | ||
- | New code should create new instances of the translate interface using type-specific constructors, | + | |
- | + | ||
- | < | + | |
- | + | ||
- | ===== Locate Engines ===== | + | |
- | + | ||
- | Zotero 2.1b6 and later support extensible locate engines. For further details, see [[dev: | + | |
- | + | ||
- | ====== | + | |
- | + | ||
- | ===== Changes to translators ===== | + | |
- | + | ||
- | * Z is now a shortcut for Zotero in translators, | + | |
- | + | ||
- | * New utility functions: | + | |
- | * < | + | |
- | * < | + |