Make sure index.html remains readable after variable replacement
This commit is contained in:
parent
1233d181f8
commit
8b3be6839e
1 changed files with 2 additions and 2 deletions
|
@ -283,7 +283,7 @@ __ __ _ __ ____ __
|
||||||
consoleDiv.addEventListener("dragleave", preventDefaults, false);
|
consoleDiv.addEventListener("dragleave", preventDefaults, false);
|
||||||
consoleDiv.addEventListener("drop", preventDefaults, false);
|
consoleDiv.addEventListener("drop", preventDefaults, false);
|
||||||
|
|
||||||
// The variables UID and GID are replaced by Github Actions.
|
// The variables uid and gid are replaced by Github Actions.
|
||||||
var opts = {env:structure.env, cwd:"/home/user", uid: UID, gid: GID};
|
var opts = {env:structure.env, cwd:"/home/user", uid: UID, gid: GID};
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
|
@ -310,7 +310,7 @@ __ __ _ __ ____ __
|
||||||
else
|
else
|
||||||
h.textContent = "\u{1F7E0}";
|
h.textContent = "\u{1F7E0}";
|
||||||
}
|
}
|
||||||
// The variables IMAGE_URL and DEVICE_TYPE are replaced by Github Actions.
|
// The device url and type are replaced by Github Actions.
|
||||||
CheerpXApp.create({devices:[{type:DEVICE_TYPE,url:IMAGE_URL,name:"block1"}],mounts:[{type:"ext2",dev:"block1",path:"/"},{type:"cheerpOS",dev:"/app",path:"/app"},{type:"cheerpOS",dev:"/str",path:"/data"},{type:"devs",dev:"",path:"/dev"}], networkInterface: networkInterface, activityInterface: {cpu: cpuCallback, dev: devCallback}}).then(runTest, failCallback);
|
CheerpXApp.create({devices:[{type:DEVICE_TYPE,url:IMAGE_URL,name:"block1"}],mounts:[{type:"ext2",dev:"block1",path:"/"},{type:"cheerpOS",dev:"/app",path:"/app"},{type:"cheerpOS",dev:"/str",path:"/data"},{type:"devs",dev:"",path:"/dev"}], networkInterface: networkInterface, activityInterface: {cpu: cpuCallback, dev: devCallback}}).then(runTest, failCallback);
|
||||||
}
|
}
|
||||||
function initialMessage()
|
function initialMessage()
|
||||||
|
|
Loading…
Reference in a new issue