Conversation
| return moment(x["DATE"]).format("YYYY"); | ||
| } | ||
| return ""; | ||
| } |
Check notice
Code scanning / CodeQL
Semicolon insertion
| // Check if authors are formatted | ||
|
|
||
| // Get conjunction if set in author | ||
| conjunction = format.attr('conjunction') ? format.attr('conjunction') : ', and'; |
Check warning
Code scanning / CodeQL
Missing variable declaration
| // Check if value is empty | ||
| if (name[index] != "") { | ||
| $(this).html($(this).html() + name[index]); | ||
| for (i = 0; i < searchLength; i++) { |
Check warning
Code scanning / CodeQL
Missing variable declaration
| var fullName = $.grep(name.slice(0, 4), Boolean).join(" "); | ||
| author.attr('class', fullName); | ||
| var textBefore = false; | ||
| for (j = 0, ele = author.find("span:not(a)"), len = ele.length; j < len; ++j) { |
Check warning
Code scanning / CodeQL
Missing variable declaration
| var fullName = $.grep(name.slice(0, 4), Boolean).join(" "); | ||
| author.attr('class', fullName); | ||
| var textBefore = false; | ||
| for (j = 0, ele = author.find("span:not(a)"), len = ele.length; j < len; ++j) { |
Check warning
Code scanning / CodeQL
Missing variable declaration
| var fullName = $.grep(name.slice(0, 4), Boolean).join(" "); | ||
| author.attr('class', fullName); | ||
| var textBefore = false; | ||
| for (j = 0, ele = author.find("span:not(a)"), len = ele.length; j < len; ++j) { |
Check warning
Code scanning / CodeQL
Missing variable declaration
| var displayTuples = []; | ||
| if (bibtexField == "author") { | ||
| $(".bibtexentry span.author").each(function(i, obj) { | ||
| authors = $(this).children("span:not(.bibtex_js_conjunction)"); |
Check warning
Code scanning / CodeQL
Missing variable declaration
| if (bibtexField == "author") { | ||
| $(".bibtexentry span.author").each(function(i, obj) { | ||
| authors = $(this).children("span:not(.bibtex_js_conjunction)"); | ||
| authorLength = authors.length; |
Check warning
Code scanning / CodeQL
Missing variable declaration
| } | ||
| } else { | ||
| $(".bibtexentry span." + bibtexField).each(function(i, obj) { | ||
| arrayString = [$(this).text()]; |
Check warning
Code scanning / CodeQL
Missing variable declaration
5670bdd to
2194962
Compare
papis-html/setup.py
Outdated
| "papis", "html", "bibtex", "javascript" | ||
| "management", "cli", "biliography" |
Check warning
Code scanning / CodeQL
Implicit string concatenation in a list
|
@alejandrogallo What do you think about updating this? It's very very simple compared to |
2658c6d to
6622972
Compare
101c15e to
47f6734
Compare
47f6734 to
85e2560
Compare

This modernizes the
papis-htmlplugin a bit to use the latest things and work withflake8.The commits are fairly self-contained, but generally this
index.htmlto work with Bootstrap 5 and some cleanup.NOTE: This does not touch the Vue application in there!