don't throw an error trying to make a bibliography with an item with no date (thanks Dan)
This commit is contained in:
parent
dac5bbb3f3
commit
ba1a383aa1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user