mirror of
https://github.com/wassname/template.git
synced 2026-07-06 05:17:25 +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);
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user