From e35e059c038fcad1d72d45523379454eac2a576a Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 26 Feb 2012 21:05:36 +0800 Subject: [PATCH] Upgrading citeproc-js to version 1.0.291 --- chrome/content/zotero/xpcom/citeproc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js index 4c1be238d..770580012 100644 --- a/chrome/content/zotero/xpcom/citeproc.js +++ b/chrome/content/zotero/xpcom/citeproc.js @@ -840,7 +840,6 @@ CSL_CHROME.prototype.flagDateMacros = function(myxml) { CSL.getSortCompare = function () { var strcmp; try { - var Components; var localeService = Components.classes["@mozilla.org/intl/nslocaleservice;1"] .getService(Components.interfaces.nsILocaleService); var collationFactory = Components.classes["@mozilla.org/intl/collation-factory;1"] @@ -851,6 +850,7 @@ CSL.getSortCompare = function () { }; CSL.debug("Using collation sort"); } catch (e) { + CSL.debug("NOT using collation sort because: "+e); strcmp = function (a, b) { return a.localeCompare(b); }; @@ -2149,7 +2149,7 @@ CSL.DateParser = function () { }; CSL.Engine = function (sys, style, lang, forceLang) { var attrs, langspec, localexml, locale; - this.processor_version = "1.0.290"; + this.processor_version = "1.0.291"; this.csl_version = "1.0"; this.sys = sys; this.sys.xml = new CSL.System.Xml.Parsing();