mirror of
https://github.com/wassname/template.git
synced 2026-08-16 11:29:40 +08:00
minor fix of citaitons
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
export default function(dom, data) {
|
||||
let citations = [];
|
||||
if (data.citations) {
|
||||
let citations = data.citations;
|
||||
/*if (data.citations) {
|
||||
citations = Object.keys(data.citations).map(c => data.citations[c]);
|
||||
citations.sort((a, b) => {
|
||||
return a.author.localeCompare(b.author);
|
||||
});
|
||||
}
|
||||
}*/
|
||||
|
||||
var citeTags = [].slice.apply(dom.querySelectorAll("dt-cite"));
|
||||
console.log(citeTags);
|
||||
|
||||
Reference in New Issue
Block a user