Upgrade citeproc-js to version 1.0.305

This commit is contained in:
Frank 2012-03-22 06:07:57 +08:00 committed by Simon Kornblith
parent ec681f0aa3
commit 4f3394dea6

View file

@ -2156,7 +2156,7 @@ CSL.DateParser = function () {
};
CSL.Engine = function (sys, style, lang, forceLang) {
var attrs, langspec, localexml, locale;
this.processor_version = "1.0.304";
this.processor_version = "1.0.305";
this.csl_version = "1.0";
this.sys = sys;
this.sys.xml = new CSL.System.Xml.Parsing();
@ -7939,7 +7939,7 @@ CSL.Attributes["@variable"] = function (state, arg) {
}
if (Item[variable]) {
for (var key in Item[variable]) {
if (this.dateparts.indexOf(key) === -1) {
if (this.dateparts.indexOf(key) === -1 && "literal" !== key) {
continue;
}
if (Item[variable][key]) {