Changed scripts to machineScripts (for clarity)
This commit is contained in:
parent
30df38738c
commit
299948fa1f
4 changed files with 4 additions and 4 deletions
|
|
@ -12,7 +12,7 @@ machines:
|
|||
RL0:
|
||||
path: http://archive.pcjs.org/disks/dec/rl02k/RL02K-XXDP.json
|
||||
sticky: top
|
||||
scripts:
|
||||
machineScripts:
|
||||
runEKBAD0: |
|
||||
selectDrive RL11 RL0;
|
||||
select RL11 listDisks "XXDP+ Diagnostics";
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ machines:
|
|||
debugger: true
|
||||
autoStart: true
|
||||
sticky: top
|
||||
scripts:
|
||||
machineScripts:
|
||||
runEKBAD0: |
|
||||
selectDrive RL11 RL0;
|
||||
select RL11 listDisks "XXDP+ Diagnostics";
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ machines:
|
|||
B:
|
||||
path: /disks/pcx86/apps/ibm/topview/1.01/TOPVIEW101-PROGRAM.json
|
||||
autoScript: startTV
|
||||
scripts:
|
||||
machineScripts:
|
||||
startTV: |
|
||||
wait Keyboard DOS;
|
||||
type Keyboard "$date\r$time\r";
|
||||
|
|
|
|||
|
|
@ -442,7 +442,7 @@ MarkOut.prototype.convertMD = function(sIndent)
|
|||
/*
|
||||
* Extract script definitions first, if any, from the Front Matter.
|
||||
*/
|
||||
var aScriptDefs = aMatch[1].match(/\nscripts:([\s\S]*?)\n([^\s]|$)/);
|
||||
var aScriptDefs = aMatch[1].match(/\nmachineScripts:([\s\S]*?)\n([^\s]|$)/);
|
||||
if (aScriptDefs) {
|
||||
var reScript = /[ \t]+([a-z0-9$@_-]+):\s*\|/gi;
|
||||
var aScripts = aScriptDefs[1].split(reScript);
|
||||
|
|
|
|||
Loading…
Reference in a new issue