Update citeproc-js to 1.1.101
This commit is contained in:
parent
bee32d1a51
commit
7d4aa521ac
1 changed files with 2 additions and 3 deletions
|
@ -34,7 +34,7 @@ if (!Array.indexOf) {
|
|||
};
|
||||
}
|
||||
var CSL = {
|
||||
PROCESSOR_VERSION: "1.1.100",
|
||||
PROCESSOR_VERSION: "1.1.101",
|
||||
CONDITION_LEVEL_TOP: 1,
|
||||
CONDITION_LEVEL_BOTTOM: 2,
|
||||
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
|
||||
|
@ -6646,7 +6646,7 @@ CSL.Node["date-part"] = {
|
|||
}
|
||||
}
|
||||
state.tmp.value = [];
|
||||
if ((value || state.tmp.have_collapsed) && !state.opt.has_year_suffix && "year" === this.strings.name && !state.tmp.just_looking) {
|
||||
if (Item[date_variable] && (value || state.tmp.have_collapsed) && !state.opt.has_year_suffix && "year" === this.strings.name && !state.tmp.just_looking) {
|
||||
if (state.registry.registry[Item.id] && state.registry.registry[Item.id].disambig.year_suffix !== false && !state.tmp.has_done_year_suffix) {
|
||||
state.tmp.has_done_year_suffix = true;
|
||||
num = parseInt(state.registry.registry[Item.id].disambig.year_suffix, 10);
|
||||
|
@ -13698,7 +13698,6 @@ CSL.Util.outputNumericField = function(state, varname, itemID) {
|
|||
} else {
|
||||
blob.successor_prefix = state[state.tmp.area].opt.layout_delimiter;
|
||||
}
|
||||
blob.UGLY_DELIMITER_SUPPRESS_HACK = true;
|
||||
}
|
||||
if ("undefined" === typeof blob.gender) {
|
||||
blob.gender = state.locale[state.opt.lang]["noun-genders"][varname];
|
||||
|
|
Loading…
Reference in a new issue