Changes to shout

ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated tries.scroll
tries.scroll
Changed around line 1
+ urlParser
+ extends abstractIdParser
+ description URL to the creation being tried?
+ float sortIndex 1.1
+ required
+
+ creationParser
+ extends abstractStringMeasureParser
+ description What is the title of the creation?
+ float sortIndex 1.12
+
+ tryParser
+ extends abstractUrlMeasureParser
+ float sortIndex 1.3
+ description URL to the builder test video?
+ required
+
+ rankParser
+ extends abstractFloatMeasureParser
+ float sortIndex 1.05
+ description What is the current rank?
+ boolean isComputed true
+ javascript
+ computeValue(concept, name, parsedProgram) {
+ if (!Particle.ranks) {
+ Particle.ranks = {}
+ const urls = parsedProgram.topDownArray.filter(particle => particle.cue === "url").map(particle => particle.content)
+ urls.forEach(url => {
+ if (!Particle.ranks[url])
+ Particle.ranks[url] = {url, count: 0}
+ Particle.ranks[url].count++
+ })
+ const sortedRanks = Object.values(Particle.ranks).sort((a, b) => b.count - a.count);
+ sortedRanks.forEach((rank, index) => {
+ Particle.ranks[rank.url] = index + 1
+ })
+ }
+ return Particle.ranks[concept.get("url")]
+ }
+
+ triesDateParser
+ cue date
+ extends abstractStringMeasureParser
+ float sortIndex 1.4
+ description When did they try?
+ required
+
+ buildernameParser
+ extends abstractStringMeasureParser
+ description Buildername of the trier?
+ float sortIndex 1.5
+ required
+
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
created tries.scroll
tries.scroll
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated hello.scroll
hello.scroll
Changed around line 3: hello world
+ atoms cueAtom
+ catchAllAtomType stringAtom
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated hello.scroll
hello.scroll
Changed around line 1
+
+ shoutParser
+ cue shout
+ extends abstractScrollParser
+ javascript
+ buildHtml() {
+ return `

${this.content}

`
+ }
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated hello.scroll
hello.scroll
Changed around line 1
+ hello world
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
created hello.scroll
hello.scroll
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
Renamed shout.scroll to shout.parsers
shout.parsers
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated shout.scroll
shout.scroll
Changed around line 1
+ shoutParser
+ cue shout
+ extends abstractScrollParser
+ javascript
+ buildHtml() {
+ return `

${this.content}

`
+ }
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
created shout.scroll
shout.scroll
root
root
2 months ago
initial blank_template template
.gitignore
Changed around line 1
+ .DS_Store
+ *.html
+ *.txt
+ *.xml
+ *.css
+ *.js
+ *.csv
+ requests.scroll
index.scroll
Changed around line 1
+ buildHtml
+ theme roboto
+
+ Hello World my name is