remove residual debugging code from previous patch
This commit is contained in:
parent
ac7479aae6
commit
7d11c87217
|
@ -1266,7 +1266,6 @@ Zotero.CSL.Compat.prototype._getFieldValue = function(name, element, item, forma
|
|||
|
||||
dataAppended = formattedString.concat(data, element);
|
||||
} else if(name == "date") {
|
||||
Zotero.debug(formattedString.toSource());
|
||||
dataAppended = formattedString.appendDate(item._csl.date, element);
|
||||
} else if(name == "publisher") {
|
||||
var data = new Zotero.CSL.Compat.FormattedString(this, formattedString.format);
|
||||
|
@ -1609,7 +1608,6 @@ Zotero.CSL.Compat.FormattedString.prototype.append = function(string, element, d
|
|||
// go through and fix up unicode entities
|
||||
for(var i=0; i<string.length; i++) {
|
||||
var charCode = string.charCodeAt(i);
|
||||
Zotero.debug(charCode);
|
||||
if(charCode > 127) { // encode unicode
|
||||
newString += "{\\uc0\\u"+charCode.toString()+"}";
|
||||
} else if(charCode == 92) { // double backslashes
|
||||
|
|
|
@ -94,7 +94,6 @@ Zotero.Integration = new function() {
|
|||
// split apart passed parameters (same colon-escaped format
|
||||
// as we pass)
|
||||
var input = request.input.toString();
|
||||
Zotero.debug(input);
|
||||
var vars = new Array();
|
||||
vars[0] = "";
|
||||
var i = 0;
|
||||
|
@ -672,12 +671,9 @@ Zotero.Integration.Session.prototype.completeCitation = function(object) {
|
|||
|
||||
// loop through items not in itemSet
|
||||
if(item == false) {
|
||||
Zotero.debug("a");
|
||||
item = Zotero.Items.get(citationItem.itemID);
|
||||
if(!item) return false;
|
||||
Zotero.debug(item);
|
||||
item = this.itemSet.add([item])[0];
|
||||
Zotero.debug(item);
|
||||
|
||||
this.dateModified[citationItem.itemID] = item.zoteroItem.getField("dateModified", true, true);
|
||||
this.updateItemIDs[citationItem.itemID] = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user