improved json file
This commit is contained in:
@@ -9,7 +9,7 @@ function load() {
|
|||||||
.then(Response => Response.json())
|
.then(Response => Response.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
dlgFile = data;
|
dlgFile = data;
|
||||||
dlgLines = dlgFile["<start>"];
|
dlgLines = dlgFile;
|
||||||
typeWriter();
|
typeWriter();
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
{
|
[
|
||||||
"<start>": [
|
"Hello welcome to TextHorror!",
|
||||||
"Hello welcome to TextHorror!",
|
"This is the second line",
|
||||||
"This is the second line",
|
"Aand a third line"
|
||||||
"Aand a third line"
|
]
|
||||||
]
|
|
||||||
}
|
|
Reference in New Issue
Block a user