- Overhaul of Zotero.Translate instance. New code should use new Zotero.Translate.Web, Zotero.Translate.Import, etc. The core Translate class is now abstracted away from data access, read/write IO, and the sandbox API. This all needs more testing.

- Translators now use configOptions and displayOptions properties in their metadata instead of Zotero.configure() and Zotero.addOption() to specify interfaces.
- Replaced now broken Zotero.Utilities.inArray() appearances in MODS.js with proper indexOf() calls
This commit is contained in:
Simon Kornblith 2010-11-02 21:39:54 +00:00
parent 42a1551e85
commit 3f2a8a39ab
20 changed files with 3408 additions and 3268 deletions

View file

@ -8,13 +8,11 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
"configOptions":{"dataMode":"block"},
"displayOptions":{"exportCharset":"UTF-8", "exportNotes":true},
"lastUpdated":"2010-09-28 21:40:00"
}
Zotero.configure("dataMode", "line");
Zotero.addOption("exportNotes", true);
Zotero.addOption("exportCharset", "UTF-8");
function detectImport() {
var line;
var i = 0;