Update citeproc-js to 1.1.99
This commit is contained in:
parent
2ee6886cf1
commit
a726699b27
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ if (!Array.indexOf) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
var CSL = {
|
var CSL = {
|
||||||
PROCESSOR_VERSION: "1.1.98",
|
PROCESSOR_VERSION: "1.1.99",
|
||||||
CONDITION_LEVEL_TOP: 1,
|
CONDITION_LEVEL_TOP: 1,
|
||||||
CONDITION_LEVEL_BOTTOM: 2,
|
CONDITION_LEVEL_BOTTOM: 2,
|
||||||
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
|
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
|
||||||
|
@ -13370,7 +13370,7 @@ CSL.Engine.prototype.processNumber = function (node, ItemObject, variable, type)
|
||||||
isCollapsible = true;
|
isCollapsible = true;
|
||||||
}
|
}
|
||||||
for (var j=currentLabelInfo.pos,jlen=values.length; j<jlen; j++) {
|
for (var j=currentLabelInfo.pos,jlen=values.length; j<jlen; j++) {
|
||||||
if (currentLabelInfo.count > 1 && isCollapsible) {
|
if (currentLabelInfo.label === values[j].label && currentLabelInfo.count > 1 && isCollapsible) {
|
||||||
values[j].plural = 1;
|
values[j].plural = 1;
|
||||||
}
|
}
|
||||||
values[j].numeric = currentLabelInfo.numeric;
|
values[j].numeric = currentLabelInfo.numeric;
|
||||||
|
|
Loading…
Reference in a new issue