Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
breck7 committed Sep 1, 2024
1 parent d999caa commit 40c0bbc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Computer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,6 @@ class Tables {
const person = creatorsMap[name] || {}
const anchorTag = lodash.camelCase(name)

let nameCol = `<a name='${anchorTag}' />${name}`
const links = {
git: person.gits,
home: person.homepage,
Expand All @@ -1703,7 +1702,7 @@ class Tables {
.join(" ")

return {
name: nameCol,
name: `<a href="${person.primaryLink || ""}" name='${anchorTag}' />${name}`,
links: `<span class="creatorQuickLinks">${linksCol}</span>`,
born: person.born,
country: person.country,
Expand Down
9 changes: 9 additions & 0 deletions creators/creators.scroll
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ wikipediaParser
countryParser
extends abstractStringMeasureParser
float sortIndex 1.6
primaryLinkParser
boolean isComputed true
extends abstractUrlMeasureParser
description What is a good primary link?
float sortIndex 1.7
javascript
computeValue(concept) {
return concept.getOneOf("homepage gits twitter wikipedia pldbInterview".split(" ")) || ""
}

id Aaron Swartz
born 1986
Expand Down

0 comments on commit 40c0bbc

Please sign in to comment.