Pushed ScienceDirect, Amazon.com, National Archives of South Africa

This commit is contained in:
Dan Stillman 2009-07-17 05:32:47 +00:00
parent 48b8361c8a
commit 4dde67acd1
4 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
2009-07-16 10:35:00 2009-07-17 05:30:00

View File

@ -8,7 +8,7 @@
"maxVersion":"", "maxVersion":"",
"priority":100, "priority":100,
"inRepository":true, "inRepository":true,
"lastUpdated":"2009-01-08 08:19:07" "lastUpdated":"2009-07-17 05:25:00"
} }
function detectWeb(doc, url) { function detectWeb(doc, url) {

View File

@ -8,7 +8,7 @@
"maxVersion":"", "maxVersion":"",
"priority":100, "priority":100,
"inRepository":true, "inRepository":true,
"lastUpdated":"2008-08-21 15:45:00" "lastUpdated":"2009-07-17 05:25:00"
} }
function detectWeb(doc, url) { function detectWeb(doc, url) {

View File

@ -8,7 +8,7 @@
"maxVersion":null, "maxVersion":null,
"priority":100, "priority":100,
"inRepository":true, "inRepository":true,
"lastUpdated":"2009-06-04 00:00:00" "lastUpdated":"2009-07-17 05:30:00"
} }
function detectWeb(doc, url) { function detectWeb(doc, url) {
@ -185,8 +185,8 @@ function doWeb(doc, url) {
}); });
} else { } else {
var functioncallbacks = [first, second, third]; var callbacks = [first, second, third];
Zotero.Utilities.processAsync(sets, functioncallbacks, function() {Zotero.done()}); Zotero.Utilities.processAsync(sets, callbacks, function() {Zotero.done()});
} }
} else { } else {
@ -298,11 +298,11 @@ function doWeb(doc, url) {
next(); next();
}); });
}; };
var functioncallbacks = [first, second]; var callbacks = [first, second];
if(detectWeb(doc, url) == "journalArticle") { if(detectWeb(doc, url) == "journalArticle") {
second({item:unauthScrape(doc)}, function() {Zotero.done()}); second({item:unauthScrape(doc)}, function() {Zotero.done()});
} else { } else {
Zotero.Utilities.processAsync(sets, functioncallbacks, function() {Zotero.done()}); Zotero.Utilities.processAsync(sets, callbacks, function() {Zotero.done()});
} }
} }