Skip to content

Commit

Permalink
should not modify const
Browse files Browse the repository at this point in the history
fix #86
  • Loading branch information
dvojtise committed May 24, 2024
1 parent c45a921 commit 62ed717
Show file tree
Hide file tree
Showing 9 changed files with 1,411 additions and 1,034 deletions.
2 changes: 1 addition & 1 deletion data/publications.json

Large diffs are not rendered by default.

44 changes: 18 additions & 26 deletions static/images/wordcloud-large.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 16 additions & 20 deletions static/images/wordcloud-medium.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions static/images/wordcloud-small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions tools/fetchbib.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const fetch = require('node-fetch');
const moment = require('moment');

async function fetchbib(url) {
const response = await fetch(url);
const bibtex = await response.text();
const response = await fetch(url);
const bibtex = await response.text();
const publications = parse_bibtex(bibtex);
return process_publications(publications);
}
Expand Down Expand Up @@ -38,7 +38,7 @@ function extract_date(data) {

function extract_publishing_details(data) {

const details = PUBLISHING_DETAILS[data.entryType];
let details = PUBLISHING_DETAILS[data.entryType];
if (details === undefined) {
console.log('other');
details = PUBLISHING_DETAILS.OTHER;
Expand Down
Loading

0 comments on commit 62ed717

Please sign in to comment.