Skip to content

Commit

Permalink
Changed a few things.
Browse files Browse the repository at this point in the history
  • Loading branch information
rogiedodgie committed Oct 16, 2018
1 parent 7670e16 commit ea2421b
Show file tree
Hide file tree
Showing 3 changed files with 310 additions and 308 deletions.
21 changes: 11 additions & 10 deletions core.js
Original file line number Diff line number Diff line change
Expand Up @@ -673,17 +673,18 @@ function analyzeSelectedFile(theChosenOne) {
manner_p.appendChild(manner_txt)
textDiv.appendChild(manner_p)

// low freq
var low_p = document.createElement("p")
var low_txt = document.createTextNode("Score Low Freq: " + scoreLow.toString())
low_p.appendChild(low_txt)
textDiv.appendChild(low_p)

// high freq
var high_p = document.createElement("p")
var high_txt = document.createTextNode("Score High Freq: " + scoreHigh.toString())
high_p.appendChild(high_txt)
textDiv.appendChild(high_p)

// low freq
var low_p = document.createElement("p")
var low_txt = document.createTextNode("Score Low Freq: " + scoreLow.toString())
low_p.appendChild(low_txt)
textDiv.appendChild(low_p)
content.appendChild(textDiv)

} else if (filePath.search('palpa14_') > -1) {
Expand Down Expand Up @@ -2076,11 +2077,11 @@ function showPreviousPalpa17Trial() {
textDiv.style.textAlign = 'center'
var p = document.createElement("p")
p.style.fontSize = "60px"
var txt = document.createTextNode(palpa17Trials[t].letter1.trim().toUpperCase() + spaces
+ palpa17Trials[t].letter2.trim().toUpperCase() + spaces
+ palpa17Trials[t].letter3.trim().toUpperCase() + spaces
+ palpa17Trials[t].letter4.trim().toUpperCase() + spaces
+ palpa17Trials[t].letter5.trim().toUpperCase())
var txt = document.createTextNode(palpa17Trials[t].letter1.trim() + spaces
+ palpa17Trials[t].letter2.trim() + spaces
+ palpa17Trials[t].letter3.trim() + spaces
+ palpa17Trials[t].letter4.trim() + spaces
+ palpa17Trials[t].letter5.trim())
p.appendChild(txt)
textDiv.appendChild(p)
content.appendChild(textDiv)
Expand Down
Loading

0 comments on commit ea2421b

Please sign in to comment.