Update to citeproc-js 1.0.470

This commit is contained in:
Simon Kornblith 2013-07-11 22:59:56 -04:00
parent 1d09c85822
commit 61fba0a788

View file

@ -57,7 +57,7 @@ if (!Array.indexOf) {
};
}
var CSL = {
PROCESSOR_VERSION: "1.0.469",
PROCESSOR_VERSION: "1.0.470",
CONDITION_LEVEL_TOP: 1,
CONDITION_LEVEL_BOTTOM: 2,
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
@ -3017,6 +3017,9 @@ CSL.Output.Queue.purgeEmptyBlobs = function (myblobs, endOnly) {
return;
}
for (i = myblobs.length - 1; i > -1; i += -1) {
if ("undefined" === typeof myblobs[i].blobs) {
myblobs[i].blobs = [];
}
CSL.Output.Queue.purgeEmptyBlobs(myblobs[i].blobs, endOnly);
}
for (i = myblobs.length - 1; i > -1; i += -1) {