Update to citeproc-js 1.0.111
From Frank's release notes: Avoid an error when attempting to sort citations that have not yet appeared in the registry. This error could be triggered, following a change made in release 1.0.108, by incremental cite insertion operations via appendCitationCluster() or processCitationCluster().
This commit is contained in:
parent
c668ecab83
commit
2c41bcff56
|
@ -1732,7 +1732,7 @@ CSL.DateParser = function (txt) {
|
|||
};
|
||||
CSL.Engine = function (sys, style, lang, forceLang) {
|
||||
var attrs, langspec, localexml, locale;
|
||||
this.processor_version = "1.0.110";
|
||||
this.processor_version = "1.0.111";
|
||||
this.csl_version = "1.0";
|
||||
this.sys = sys;
|
||||
this.sys.xml = new CSL.System.Xml.Parsing();
|
||||
|
@ -3975,7 +3975,7 @@ CSL.Node.key = {
|
|||
state.output.append(CSL.Util.Dates[e]["numeric-leading-zeros"](state, value));
|
||||
}
|
||||
}
|
||||
if (state.registry.registry[Item.id].disambig.year_suffix) {
|
||||
if (state.registry.registry[Item.id] && state.registry.registry[Item.id].disambig.year_suffix) {
|
||||
num = state.registry.registry[Item.id].disambig.year_suffix.toString();
|
||||
num = CSL.Util.padding(num);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user