Changed scripts to machineScripts (for clarity)

This commit is contained in:
Jeff Parsons 2017-07-25 13:46:38 -07:00 committed by Jeff Parsons
commit 299948fa1f
4 changed files with 4 additions and 4 deletions

View file

@ -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);