Added an autoType sequence to the RatBas demo

This commit is contained in:
Jeff Parsons 2017-06-17 10:56:22 -07:00 committed by Jeff Parsons
commit fd3348f907
7 changed files with 1986 additions and 1996 deletions

View file

@ -453,7 +453,10 @@ MarkOut.prototype.convertMD = function(sIndent)
aOptions = aaOptions[iOption];
var sSpace = aOptions[1], sName = aOptions[2].toLowerCase(), sValue = aOptions[3];
if (sName == 'automount') sName = 'autoMount'; // for backward compatibility
if (sName == 'autotype') sName = 'autoType';
if (sName == 'autotype') {
sName = 'autoType';
sValue = sValue.replace(/\\/g, "\");
}
if (!id && sName == 'id') {
id = sValue;
} else if (sName == 'autoMount') {