commit 4adc22971f78ec0370a22b1388909c5298f014da
parent 98dbfd761a8e0b091c8b77984292ceef2a897174
Author: Simon Kornblith <simon@simonster.com>
Date: Sat, 4 Sep 2010 20:39:37 +0000
remove debug code from previous commit
Diffstat:
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git a/translators/unAPI.js b/translators/unAPI.js
@@ -24,8 +24,6 @@ var FORMAT_GUIDS = {
var unAPIResolver, unsearchedIds, foundIds, foundItems, foundFormat, foundFormatName, domain;
function detectWeb(doc, url) {
- Zotero.debug("detecting unAPI");
-
// initialize variables
unsearchedIds = [];
foundIds = [];
@@ -63,8 +61,6 @@ function detectWeb(doc, url) {
} else {
// if there's more than one, we should first see if the resolver gives metadata for all of them
Zotero.Utilities.HTTP.doGet(unAPIResolver, function(text) {
- Zotero.debug(text);
-
var format = checkFormats(text);
if(format) {
// move unsearchedIds to foundIds
@@ -146,9 +142,6 @@ function checkFormats(text) {
}
}
- Zotero.debug("FORMATS");
- Zotero.debug(foundFormat);
-
// loop through again, this time respecting preferences
for each(var format in RECOGNIZABLE_FORMATS) {
if(foundFormat[format]) return [format, foundFormat[format]];