commit cf7f7d82d46290a77eb8a859756d836b00cae73b
parent 90d7f9e937a0f8f3adbaef882b4c51751b19713a
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 12 Jan 2009 18:25:36 +0000
Fixed (what appeared to be) two obvious typos in the DRA translator -- still doesn't work for search results on http://umanitoba.ca, at least, but now works for single pages
Pushed updated BibTeX with 1.0.9 Unicode fix
Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/repotime.txt b/repotime.txt
@@ -1 +1 @@
-2009-01-10 04:45:00
+2009-01-12 18:25:00
diff --git a/translators/BibTeX.js b/translators/BibTeX.js
@@ -8,7 +8,7 @@
"maxVersion":"",
"priority":200,
"inRepository":true,
- "lastUpdated":"2008-12-29 23:54:59"
+ "lastUpdated":"2009-01-12 18:25:00"
}
Zotero.configure("dataMode", "block");
diff --git a/translators/Library Catalog (DRA).js b/translators/Library Catalog (DRA).js
@@ -8,7 +8,7 @@
"maxVersion":"",
"priority":100,
"inRepository":true,
- "lastUpdated":"2006-12-15 15:11:00"
+ "lastUpdated":"2009-01-12 18:25:00"
}
function detectWeb(doc, url) {
@@ -39,12 +39,12 @@ function doWeb(doc, url) {
return true;
}
- var uris = new Array();
+ var uris = [];
for(var i in items) {
uris.push(i);
}
} else {
- var ug = new Array(doc.location.href);
+ var uris = [doc.location.href];
}
for(var i in uris) {
@@ -64,7 +64,7 @@ function doWeb(doc, url) {
translator.setTranslator("a6ee60df-1ddc-4aae-bb25-45e0537be973");
var domain = url.match(/https?:\/\/([^/]+)/);
- marc.setHandler("itemDone", function(obj, item) {
+ translator.setHandler("itemDone", function(obj, item) {
item.repository = domain[1]+" Library Catalog";
item.complete();
});