Remove stray console.log() calls in citeproc-js

This is breaking bibliography output for some citations.
This commit is contained in:
Dan Stillman 2017-04-17 13:56:59 -04:00
parent 8a7d405e4d
commit 2160b1cb87

View file

@ -9729,9 +9729,7 @@ CSL.NameOutput.prototype._splitInstitution = function (value, v, i) {
value.literal = value.family; value.literal = value.family;
delete value.family; delete value.family;
} }
console.log("XX10: " + this.Item.id + " " + JSON.stringify(value));
var splitInstitution = value.literal.replace(/\s*\|\s*/g, "|"); var splitInstitution = value.literal.replace(/\s*\|\s*/g, "|");
console.log(" XX10 OK");
splitInstitution = splitInstitution.split("|"); splitInstitution = splitInstitution.split("|");
if (this.institution.strings.form === "short" && this.state.sys.getAbbreviation) { if (this.institution.strings.form === "short" && this.state.sys.getAbbreviation) {
var jurisdiction = this.Item.jurisdiction; var jurisdiction = this.Item.jurisdiction;