commit 61fba0a78871ad3d2bd4d3d213d264480ee16164
parent 1d09c8582214f2cf99ac5f4d50cd64d082880a57
Author: Simon Kornblith <simon@simonster.com>
Date: Thu, 11 Jul 2013 22:59:56 -0400
Update to citeproc-js 1.0.470
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js
@@ -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) {