From 75d320284579b8d7000a5cf8d8a202e29468f75e Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 25 Mar 2012 04:31:59 +0800 Subject: [PATCH] Upgrade citeproc-js to version 1.0.307 --- chrome/content/zotero/xpcom/citeproc.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js index 87db4c61e..9009e3665 100644 --- a/chrome/content/zotero/xpcom/citeproc.js +++ b/chrome/content/zotero/xpcom/citeproc.js @@ -2158,7 +2158,7 @@ CSL.DateParser = function () { }; CSL.Engine = function (sys, style, lang, forceLang) { var attrs, langspec, localexml, locale; - this.processor_version = "1.0.306"; + this.processor_version = "1.0.307"; this.csl_version = "1.0"; this.sys = sys; this.sys.xml = new CSL.System.Xml.Parsing(); @@ -10179,6 +10179,9 @@ CSL.Util.Suffixator.prototype.format = function (N) { CSL.Engine.prototype.processNumber = function (node, ItemObject, variable) { var num, m, i, ilen, j, jlen; var debug = false; + if (!ItemObject) { + return; + } num = ItemObject[variable]; this.tmp.shadow_numbers[variable] = {}; this.tmp.shadow_numbers[variable].values = [];