sarahciston commited on
Commit
8c26bf2
1 Parent(s): a02510b

change global variables to var from let

Browse files
Files changed (1) hide show
  1. sketch.js +5 -5
sketch.js CHANGED
@@ -7,12 +7,12 @@ env.allowLocalModels = false;
7
 
8
  // GLOBAL VARIABLES
9
 
10
- let PREPROMPT = `Please continue the story, and fill any [MASK] with your own words:`
11
  // let PREPROMPT = `Please complete the phrase and fill in any [MASK]: `
12
- let PROMPT_INPUT = `The [BLANK] has a job as a [MASK] but...` // a field for writing or changing a text value
13
- let pField // an html element for the prompt
14
- let outText // an html element for the results
15
- let blanksArray = []
16
  // a list for all the variable inputs, e.g. ["woman", "man", "non-binary person"]
17
 
18
 
 
7
 
8
  // GLOBAL VARIABLES
9
 
10
+ var PREPROMPT = `Please continue the story, and fill any [MASK] with your own words:`
11
  // let PREPROMPT = `Please complete the phrase and fill in any [MASK]: `
12
+ var PROMPT_INPUT = `The [BLANK] has a job as a [MASK] but...` // a field for writing or changing a text value
13
+ var pField // an html element for the prompt
14
+ var outText // an html element for the results
15
+ var blanksArray = []
16
  // a list for all the variable inputs, e.g. ["woman", "man", "non-binary person"]
17
 
18