Skip to content

Commit

Permalink
Update citeproc-js to 1.1.175
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Aug 22, 2017
1 parent 8e36529 commit 879ed11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chrome/content/zotero/xpcom/citeproc.js
Expand Up @@ -24,7 +24,7 @@
*/
'use strict'
var CSL = {
PROCESSOR_VERSION: "1.1.174",
PROCESSOR_VERSION: "1.1.175",
CONDITION_LEVEL_TOP: 1,
CONDITION_LEVEL_BOTTOM: 2,
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
Expand Down Expand Up @@ -3911,7 +3911,7 @@ CSL.Output.Queue.prototype.string = function (state, myblobs, blob) {
}
ret = ret.concat(addtoret);
}
if (blobjr.strings.first_blob) {
if (blobjr.strings.first_blob && state.registry.registry[blobjr.strings.first_blob]) {
state.registry.registry[blobjr.strings.first_blob].offset = state.tmp.offset_characters;
state.tmp.count_offset_characters = false;
}
Expand Down Expand Up @@ -5846,7 +5846,7 @@ CSL.citeStart = function (Item, item, blockShadowNumberReset) {
this.tmp.authority_stop_last = 0;
};
CSL.citeEnd = function (Item, item) {
if (this.tmp.disambig_restore) {
if (this.tmp.disambig_restore && this.registry.registry[Item.id]) {
this.registry.registry[Item.id].disambig.names = this.tmp.disambig_restore.names.slice();
this.registry.registry[Item.id].disambig.givens = this.tmp.disambig_restore.givens.slice();
for (var i=0,ilen=this.registry.registry[Item.id].disambig.givens.length;i<ilen;i+=1) {
Expand Down

0 comments on commit 879ed11

Please sign in to comment.