Spaces:
Running
Running
fix stupid typo, get stupid prizes
Browse files
index.js
CHANGED
|
@@ -84,11 +84,12 @@ new p5(function (p5){
|
|
| 84 |
async function makeResultsText(){
|
| 85 |
console.log('button pressed')
|
| 86 |
let resultsText = p5.createElement('h4',"Results:")
|
| 87 |
-
|
| 88 |
-
let out = await
|
|
|
|
| 89 |
console.log(out)
|
| 90 |
|
| 91 |
-
|
| 92 |
}
|
| 93 |
|
| 94 |
});
|
|
|
|
| 84 |
async function makeResultsText(){
|
| 85 |
console.log('button pressed')
|
| 86 |
let resultsText = p5.createElement('h4',"Results:")
|
| 87 |
+
|
| 88 |
+
// let out = await fillInTask() //just model no parsing
|
| 89 |
+
let out = await getOutputs(fillInTask()) // model and parsing
|
| 90 |
console.log(out)
|
| 91 |
|
| 92 |
+
await resultsText.html(out)
|
| 93 |
}
|
| 94 |
|
| 95 |
});
|