www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 524033abc93f265ba6108e2e06e0b1e7680ef0e5
parent 6b1396d9794cf1f775d584e66907cd4a80fafb9e
Author: Frank <biercenator@gmail.com>
Date:   Wed, 25 Apr 2012 23:53:05 +0000

Upgrade citeproc-js to version 1.0.326

Diffstat:
Mchrome/content/zotero/xpcom/citeproc.js | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js @@ -2189,7 +2189,7 @@ CSL.DateParser = function () { }; CSL.Engine = function (sys, style, lang, forceLang) { var attrs, langspec, localexml, locale; - this.processor_version = "1.0.325"; + this.processor_version = "1.0.326"; this.csl_version = "1.0"; this.sys = sys; this.sys.xml = new CSL.System.Xml.Parsing(); @@ -3681,6 +3681,11 @@ CSL.Engine.prototype.processCitationCluster = function (citation, citationsPre, var last_ref = {}; for (j = 0, jlen = citations.length; j < jlen; j += 1) { var onecitation = citations[j]; + if (j > 0 && citations[j - 1].properties.noteIndex > citations[j].properties.noteIndex) { + citationsInNote = {}; + first_ref = {}; + last_ref = {}; + } for (var k = 0, klen = onecitation.sortedItems.length; k < klen; k += 1) { if (!this.registry.registry[onecitation.sortedItems[k][1].id].parallel) { if (!citationsInNote[onecitation.properties.noteIndex]) {