Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next 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/12 19:53] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | < | ||
+ | in the process of updating the documentation for | ||
+ | <a href=" | ||
+ | may be outdated in the meantime. Thanks for your understanding.</ | ||
+ | |||
+ | |||
====== Changes in Zotero 2.1 ====== | ====== Changes in Zotero 2.1 ====== | ||
Line 14: | Line 20: | ||
===== 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 32: | ||
}</ | }</ | ||
- | * 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 48: | ||
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 in translators, | |
- | ===== Changes to translators ===== | + | |
- | + | ||
- | | + | |
- | * New utility functions: | + | ===== XPath utility functions |
* < | * < | ||
* < | * < |