Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dev:client_coding:changes_in_zotero_2.1 [2011/08/21 04:36] – created simon | dev:client_coding:changes_in_zotero_2.1 [2017/11/27 05:09] (current) – Remove Zotero 5 warning bwiernik | ||
---|---|---|---|
Line 14: | Line 14: | ||
===== Changes to translators ===== | ===== Changes to translators ===== | ||
- | * Several functions in Zotero.Utilities have been eliminated, as they were essential duplications of built-in JavaScript methods. | + | ==== Deprecated functions eliminated ==== |
+ | 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. < | + | ==== Zotero.configure() and Zotero.displayOptions() replaced by configOptions and displayOptions ==== |
+ | 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. < | ||
" | " | ||
[...] | [...] | ||
Line 24: | Line 26: | ||
}</ | }</ | ||
- | * It is no longer necessary to specify " | + | ==== " |
+ | It is no longer necessary to specify " | ||
- | * Import and export translators now show determinate progress bars. By default, Zotero computes progress by the percentage of the file read for import, or the percentage of items retrieved using Zotero.nextItem() for export. Translators can override this by calling Zotero.setProgress(percentage) to set the percentage the progress bar displays, or Zotero.setProgress(null) to show an indeterminate indicator. | + | ==== Indicating translation progress ==== |
+ | Import and export translators now show determinate progress bars. By default, Zotero computes progress by the percentage of the file read for import, or the percentage of items retrieved using Zotero.nextItem() for export. Translators can override this by calling Zotero.setProgress(percentage) to set the percentage the progress bar displays, or Zotero.setProgress(null) to show an indeterminate indicator. | ||
===== Changes to translate interface ===== | ===== Changes to translate interface ===== | ||
Line 38: | Line 42: | ||
Zotero 2.1b6 and later support extensible locate engines. For further details, see [[dev: | Zotero 2.1b6 and later support extensible locate engines. For further details, see [[dev: | ||
- | ====== | + | ===== Shorthand syntax |
+ | Z is now a shortcut for Zotero | ||
- | ===== Changes to translators | + | ===== XPath utility functions |
- | + | ||
- | * Z is now a shortcut for Zotero in translators, | + | |
- | + | ||
- | * New utility functions: | + | |
* < | * < | ||
* < | * < |