Upgrade citeproc-js to version 1.0.314
This commit is contained in:
parent
38c7f5964e
commit
c8a87f123a
1 changed files with 2 additions and 2 deletions
|
@ -2159,7 +2159,7 @@ CSL.DateParser = function () {
|
||||||
};
|
};
|
||||||
CSL.Engine = function (sys, style, lang, forceLang) {
|
CSL.Engine = function (sys, style, lang, forceLang) {
|
||||||
var attrs, langspec, localexml, locale;
|
var attrs, langspec, localexml, locale;
|
||||||
this.processor_version = "1.0.313";
|
this.processor_version = "1.0.314";
|
||||||
this.csl_version = "1.0";
|
this.csl_version = "1.0";
|
||||||
this.sys = sys;
|
this.sys = sys;
|
||||||
this.sys.xml = new CSL.System.Xml.Parsing();
|
this.sys.xml = new CSL.System.Xml.Parsing();
|
||||||
|
@ -10205,7 +10205,6 @@ CSL.Util.Suffixator.prototype.format = function (N) {
|
||||||
CSL.Engine.prototype.processNumber = function (node, ItemObject, variable) {
|
CSL.Engine.prototype.processNumber = function (node, ItemObject, variable) {
|
||||||
var num, m, i, ilen, j, jlen;
|
var num, m, i, ilen, j, jlen;
|
||||||
var debug = false;
|
var debug = false;
|
||||||
num = ItemObject[variable];
|
|
||||||
this.tmp.shadow_numbers[variable] = {};
|
this.tmp.shadow_numbers[variable] = {};
|
||||||
this.tmp.shadow_numbers[variable].values = [];
|
this.tmp.shadow_numbers[variable].values = [];
|
||||||
this.tmp.shadow_numbers[variable].plural = 0;
|
this.tmp.shadow_numbers[variable].plural = 0;
|
||||||
|
@ -10213,6 +10212,7 @@ CSL.Engine.prototype.processNumber = function (node, ItemObject, variable) {
|
||||||
if (!ItemObject) {
|
if (!ItemObject) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
num = ItemObject[variable];
|
||||||
if ("undefined" !== typeof num) {
|
if ("undefined" !== typeof num) {
|
||||||
if ("number" === typeof num) {
|
if ("number" === typeof num) {
|
||||||
num = "" + num;
|
num = "" + num;
|
||||||
|
|
Loading…
Reference in a new issue