Upgrading citeproc-js to version 1.0.291

This commit is contained in:
Frank 2012-02-26 21:05:36 +08:00 committed by Simon Kornblith
parent 17094cfb30
commit e35e059c03

View File

@ -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();