don't throw an error trying to make a bibliography with an item with no date (thanks Dan)

This commit is contained in:
Simon Kornblith 2006-08-14 22:05:58 +00:00
parent dac5bbb3f3
commit ba1a383aa1

View File

@ -896,10 +896,8 @@ CSL.prototype._preprocessItems = function(items) {
}
}
// parse
if(item.date) { // specific date
item._csl.date = CSL.prototype._processDate(item.date);
}
// parse date
item._csl.date = CSL.prototype._processDate(item.date);
}
}