More scripting fixes

This commit is contained in:
Jeff Parsons 2017-02-06 17:46:42 -08:00 committed by Jeff Parsons
commit c8f32d84f5
10 changed files with 10 additions and 10 deletions

View file

@ -389,4 +389,4 @@ function Dl(a,b,c){var d;if(d=/<([a-z]+)\s+ref="(.*?)"(.*?)\/>/g.exec(a)){var e=
function El(a,b,c,d){function e(a){if(void 0===k){var b=g&&x(g,"machine-warning");k=b&&b[0]||g}k&&(k.innerHTML=Qa(a))}function f(a){e("Error: "+a);l&&(--Al||ub(!0));l=!1}var g,k,l=!0;Al++;pa[a]={};try{if(g=document.getElementById(a)){var m;if("object"==typeof resources&&(m=resources.css)){var n=document.head||document.getElementsByTagName("head")[0],q=document.createElement("style");q.type="text/css";q.styleSheet?q.styleSheet.cssText=m:q.appendChild(document.createTextNode(m));n.appendChild(q)}c||
(c="/versions/pdpjs/1.34.0/components.xsl");m=function(d,k){k?Bl(c,null,null,!1,e,function(d,l){l?(oa(a,c,d),e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window?(l=k.transformNode(l))?(g.outerHTML=l,--Al||ub(!0)):f("transformNodeToObject failed"):document.implementation&&document.implementation.createDocument?(d=new XSLTProcessor,d.importStylesheet(l),(l=d.transformToFragment(k,document))?g.parentNode?(g.parentNode.replaceChild(l,g),--Al||ub(!0)):f("invalid machine element: "+
a):f("transformToFragment failed")):f("unable to transform XML: unsupported browser")):f(d)}):f(d)};"<"!=b.charAt(0)?Bl(b,a,d,!0,e,m):Cl(b,null,a,d,!1,e,m)}else f("missing machine element: "+a)}catch(t){f(t.message)}return l}window.embedPDP11=function(a,b,c,d){ub(!1);return El(a,b,c,d)};window.findMachineComponent=function(a,b){return va(b,a+".machine")};
window.processMachineScript=function(a,b,c){b=!1;if("string"==typeof c){b=!0;for(var d=c.length,e=[],f=[],g="",k=null,l=0;l<d;l++){var m=c[l];if('"'==m||"'"==m)k&&m!=k?g+=m:(k?k=null:k=m,g&&(f.push(g),g=""));else{if(!k){if("\r"==m||"\n"==m)m=";";if(" "==m||"\t"==m||";"==m){g&&(f.push(g),g="");";"==m&&f.length&&(e.push(f),f=[]);continue}}g+=m}}f.length&&e.push(f);ya(a+".machine",e,0)||(b=!1)}return b};window.enableEvents=ub;window.sendEvent=Cb;})();//# sourceMappingURL=/tmp/pdpjs/1.34.0/pdp11-dbg.map
window.processMachineScript=function(a,b,c){b=!1;if("string"==typeof c){b=!0;for(var d=c.length,e=[],f=[],g="",k=null,l=0;l<d;l++){var m=c[l];if('"'==m||"'"==m)k&&m!=k?g+=m:(k?k=null:k=m,g&&(f.push(g),g=""));else{if(!k){if("\r"==m||"\n"==m)m=";";if(" "==m||"\t"==m||";"==m){g&&(f.push(g),g="");";"==m&&f.length&&(e.push(f),f=[]);continue}}g+=m}}g&&f.push(g);f.length&&e.push(f);ya(a+".machine",e,0)||(b=!1)}return b};window.enableEvents=ub;window.sendEvent=Cb;})();//# sourceMappingURL=/tmp/pdpjs/1.34.0/pdp11-dbg.map

View file

@ -299,4 +299,4 @@ function Ih(a,b,c){var d;if(d=/<([a-z]+)\s+ref="(.*?)"(.*?)\/>/g.exec(a)){var e=
function Jh(a,b,c,d){function e(a){if(void 0===k){var b=g&&z(g,"machine-warning");k=b&&b[0]||g}k&&(k.innerHTML=Ga(a))}function f(a){e("Error: "+a);l&&(--Fh||ab(!0));l=!1}var g,k,l=!0;Fh++;oa[a]={};try{if(g=document.getElementById(a)){var m;if("object"==typeof resources&&(m=resources.css)){var p=document.head||document.getElementsByTagName("head")[0],q=document.createElement("style");q.type="text/css";q.styleSheet?q.styleSheet.cssText=m:q.appendChild(document.createTextNode(m));p.appendChild(q)}c||
(c="/versions/pdpjs/1.34.0/components.xsl");m=function(d,k){k?Gh(c,null,null,!1,e,function(d,l){l?(na(a,c,d),e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window?(l=k.transformNode(l))?(g.outerHTML=l,--Fh||ab(!0)):f("transformNodeToObject failed"):document.implementation&&document.implementation.createDocument?(d=new XSLTProcessor,d.importStylesheet(l),(l=d.transformToFragment(k,document))?g.parentNode?(g.parentNode.replaceChild(l,g),--Fh||ab(!0)):f("invalid machine element: "+
a):f("transformToFragment failed")):f("unable to transform XML: unsupported browser")):f(d)}):f(d)};"<"!=b.charAt(0)?Gh(b,a,d,!0,e,m):Hh(b,null,a,d,!1,e,m)}else f("missing machine element: "+a)}catch(x){f(x.message)}return l}window.embedPDP11=function(a,b,c,d){ab(!1);return Jh(a,b,c,d)};window.findMachineComponent=function(a,b){return ta(b,a+".machine")};
window.processMachineScript=function(a,b,c){b=!1;if("string"==typeof c){b=!0;for(var d=c.length,e=[],f=[],g="",k=null,l=0;l<d;l++){var m=c[l];if('"'==m||"'"==m)k&&m!=k?g+=m:(k?k=null:k=m,g&&(f.push(g),g=""));else{if(!k){if("\r"==m||"\n"==m)m=";";if(" "==m||"\t"==m||";"==m){g&&(f.push(g),g="");";"==m&&f.length&&(e.push(f),f=[]);continue}}g+=m}}f.length&&e.push(f);ua(a+".machine",e,0)||(b=!1)}return b};window.enableEvents=ab;window.sendEvent=cb;})();//# sourceMappingURL=/tmp/pdpjs/1.34.0/pdp11.map
window.processMachineScript=function(a,b,c){b=!1;if("string"==typeof c){b=!0;for(var d=c.length,e=[],f=[],g="",k=null,l=0;l<d;l++){var m=c[l];if('"'==m||"'"==m)k&&m!=k?g+=m:(k?k=null:k=m,g&&(f.push(g),g=""));else{if(!k){if("\r"==m||"\n"==m)m=";";if(" "==m||"\t"==m||";"==m){g&&(f.push(g),g="");";"==m&&f.length&&(e.push(f),f=[]);continue}}g+=m}}g&&f.push(g);f.length&&e.push(f);ua(a+".machine",e,0)||(b=!1)}return b};window.enableEvents=ab;window.sendEvent=cb;})();//# sourceMappingURL=/tmp/pdpjs/1.34.0/pdp11.map