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,12 +896,10 @@ CSL.prototype._preprocessItems = function(items) {
} }
} }
// parse // parse date
if(item.date) { // specific date
item._csl.date = CSL.prototype._processDate(item.date); item._csl.date = CSL.prototype._processDate(item.date);
} }
} }
}
/* /*
* disambiguates items, after pre-processing and sorting * disambiguates items, after pre-processing and sorting