Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:client_coding:changes_in_zotero_3.0 [2011/08/23 00:59] – [Translator testing framework] simondev:client_coding:changes_in_zotero_3.0 [2017/11/27 05:13] (current) – Remove Zotero 5 warning bwiernik
Line 13: Line 13:
 ''Zotero.Utilities.removeDiacritics(str, lowercaseOnly)'' removes diacritics from a string, returning the result. The second argument is an optimization that specifies that only lowercase diacritics should be replaced. ''Zotero.Utilities.removeDiacritics(str, lowercaseOnly)'' removes diacritics from a string, returning the result. The second argument is an optimization that specifies that only lowercase diacritics should be replaced.
 ==== ZoteroItemUpdated event ==== ==== ZoteroItemUpdated event ====
-Sites can now fire the ''ZoteroItemUpdated'' event to force Zotero to re-run detection after new data is loaded asynchronously ([[exposing_metadata#using_an_open_standard_for_exposing_metadata|example code]]).+Sites can now fire the ''ZoteroItemUpdated'' event to force Zotero to re-run detection after new data is loaded asynchronously ([[:dev:exposing_metadata#using_an_open_standard_for_exposing_metadata|example code]]).
  
 ==== Modifying translators to run in the Zotero Connectors ==== ==== Modifying translators to run in the Zotero Connectors ====
Line 48: Line 48:
 <code>chrome://zotero/content/tools/testTranslators/testTranslators.html</code> <code>chrome://zotero/content/tools/testTranslators/testTranslators.html</code>
  
-In Chrome and Safari, this page is accessible from the "Advancedpane of the preferences in [[[/dev/svn_and_trac_access#connector_debug_builds|connector debug builds]].+In Chrome and Safari, the translator tester is accessible from the Advanced pane of the preferences in [[/support/dev_builds#connector_debug_builds|connector debug builds]].
  
 ===== Add-on support in Zotero Standalone ===== ===== Add-on support in Zotero Standalone =====
Line 64: Line 64:
 </code> </code>
  
-where minVersion is the lowest Zotero Standalone version you have tested with, and maxVersion is the maximum version you can reasonably expect your add-on to work with. For add-ons that overlay [[changes_in_zotero_2.1#changes_to_interface-related_code|zoteroPane.xul]], this addition should be sufficient, and the same XPI should work in both Firefox and Zotero Standalone.+where minVersion is the lowest Zotero Standalone version you have tested with, and maxVersion is the maximum version you can reasonably expect your add-on to work with. For add-ons that overlay [[changes_in_zotero_2.1#changes_to_interface-related_code|zoteroPane.xul]], this addition should be sufficient, and the same XPI should work in both Firefox and Zotero Standalone. If your add-on overlays browser.xul, you should change it to overlay zoteroPane.xul.
  
-To install an add-on in Zotero Standalone, go to Tools->Add-ons and choose "Install Add-on From File..." from the cog menu.+Calls to ''window.loadURI()'' will not work in Zotero Standalone. Howeveryou can use ''ZoteroPane.loadURI()'' to load a URI in the default browser, or ''ZoteroStandalone.openInViewer()'' to open a page in Zotero Standalone.
  
 +To install an add-on in Zotero Standalone, go to Tools->Add-ons and choose "Install Add-on From File..." from the cog menu.
 ===== Miscellaneous changes ===== ===== Miscellaneous changes =====
  
 ==== Zotero.Translate itemSaving handler ==== ==== Zotero.Translate itemSaving handler ====
-There are now both ''itemSaving'' and ''itemDone'' handlers.+Zotero.Translate now fires both ''itemSaving'' and ''itemDone'' handlers.
  
 The ''itemSaving'' handler is called as soon as the translator returns an item, but before it's saved to the database. It is passed the item object returned by the translator as the second argument. The ''itemSaving'' handler is called as soon as the translator returns an item, but before it's saved to the database. It is passed the item object returned by the translator as the second argument.
dev/client_coding/changes_in_zotero_3.0.1314075565.txt.gz · Last modified: 2011/08/23 00:59 by simon