commit e35e059c038fcad1d72d45523379454eac2a576a
parent 17094cfb3072d617663ed9637789bf43379bc0f4
Author: Frank <biercenator@gmail.com>
Date: Sun, 26 Feb 2012 21:05:36 +0800
Upgrading citeproc-js to version 1.0.291
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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();