Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
Andros-Spica committed Aug 20, 2024
1 parent 5053262 commit b3c807a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions website_generator/generate_source.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,6 @@ extract_names <- function(listOfContributorsData) {
return(lapply(listOfContributorsData, function(x) x$name))
}

# badge_series <- function(x, type = 'badgeDefault') {
# if (length(x) > 0) {
# prefix <- paste0('<span class="badge" id="', type, '">')
# return(paste(prefix, x, '</span>', collapse = '&nbsp;'))
# } else {
# return('')
# }
# }
# badge_series <- function(x, type = 'badgeDefault') {
# if (length(x) > 0) {
# prefix <- paste0('<span class="badge" id="', type, '" onclick="filterByKeyword(\'', x, '\')">')
# return(paste(prefix, x, '</span>', collapse = '&nbsp;'))
# } else {
# return('')
# }
# }
badge_series <- function(x, type = 'badgeDefault') {
if (length(x) > 0) {
prefix <- paste0('<span class="badge" id="', type, '" data-keyword="', x, '">')
Expand Down

0 comments on commit b3c807a

Please sign in to comment.