minor fix of citaitons

This commit is contained in:
Christopher Olah
2017-01-08 13:45:25 -08:00
parent acdce18857
commit dee8fc53f1
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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);
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long