Comparing version 7.0.4 to 7.0.5
{ | ||
"name": "remixml", | ||
"version": "7.0.4", | ||
"version": "7.0.5", | ||
"description": "XML/HTML-like macro language/template compiler engine", | ||
@@ -5,0 +5,0 @@ "main": "remixml.min.js", |
@@ -1340,7 +1340,9 @@ /** @license | ||
"parse2txt": | ||
/** string */(/** string|(function(!Object):!Array) */ tpl, | ||
/** string|!Promise */(/** string|(function(!Object):!Array) */ tpl, | ||
/** !Object */ $,/** number= */ flags) => | ||
{ if (isstring(tpl)) | ||
tpl = js2obj(remixml2js(/** @type {string} */(tpl), flags)); | ||
return Y(/** @type {function(!Object):!Array} */(tpl)($)); | ||
return flags & ASYNC ? | ||
tpl($).then((abstract) => Y(abstract)) : | ||
Y(/** @type {function(!Object):!Array} */(tpl)($)); | ||
}, | ||
@@ -1347,0 +1349,0 @@ "abstract2txt": Y, |
@@ -1348,7 +1348,9 @@ /** @license | ||
"parse2txt": | ||
/** string */(/** string|(function(!Object):!Array) */ tpl, | ||
/** string|!Promise */(/** string|(function(!Object):!Array) */ tpl, | ||
/** !Object */ $,/** number= */ flags) => | ||
{ if (isstring(tpl)) | ||
tpl = js2obj(remixml2js(/** @type {string} */(tpl), flags)); | ||
return Y(/** @type {function(!Object):!Array} */(tpl)($)); | ||
return flags & ASYNC ? | ||
tpl($).then((abstract) => Y(abstract)) : | ||
Y(/** @type {function(!Object):!Array} */(tpl)($)); | ||
}, | ||
@@ -1355,0 +1357,0 @@ "abstract2txt": Y, |
@@ -41,3 +41,3 @@ (function(){"use strict"; | ||
case 1:switch(a.length){case 0:return"";case 1:a=a[0];continue}}break}var c,e=a[""];switch(e){case "!":return"\x3c!--"+a[0]+"--\x3e";case "<":return"<!"+a[0]+">";case "?":return"<?"+a[0]+"?>";case 1:e=c="";break;default:c="<"+e;for(var f of y.keys(a).splice(a.length))switch(f[0]){default:var h=a[f];null!=h&&(h[""]&&(h=h.join("")),c+=" "+f,f!==h&&(c+='="'+(h.replace?h.replace(sb,"&dquot;"):h)+'"'));case "_":case void 0:}if(!a.length)return c+(b&&"br"!==e?"></"+e+">":"/>");c+=">"}for(h=0;void 0!==(f= | ||
a[h++]);)c+=f[""]?Y(f,b):f;e&&(c+="</"+e+">");return c};const qa={remixml2js:sa,js2obj:ra,compile:Ea,parse2txt:(a,b,c)=>{ma(a)&&(a=ra(sa(a,c)));return Y(a(b))},abstract2txt:Y,add_filter:(a,b)=>Pa[a]=b,set_proc_fmt:a=>za=a,set_tag:(a,b,c,e,f)=>(N(b),Za(a,b,c,e,f)),set_log_callback:a=>Qa=a,set_cache_options:(a,b,c,e)=>{Aa=a||Aa;ja=b||ja;Ba=c||Ba;Ca=e||Ca}};"function"==typeof define&&define.amd?define("remixml",[],qa):"object"==typeof exports?y.assign(exports,qa):ob.Remixml=qa}).call(this); | ||
a[h++]);)c+=f[""]?Y(f,b):f;e&&(c+="</"+e+">");return c};const qa={remixml2js:sa,js2obj:ra,compile:Ea,parse2txt:(a,b,c)=>{ma(a)&&(a=ra(sa(a,c)));return c&4?a(b).then(e=>Y(e)):Y(a(b))},abstract2txt:Y,add_filter:(a,b)=>Pa[a]=b,set_proc_fmt:a=>za=a,set_tag:(a,b,c,e,f)=>(N(b),Za(a,b,c,e,f)),set_log_callback:a=>Qa=a,set_cache_options:(a,b,c,e)=>{Aa=a||Aa;ja=b||ja;Ba=c||Ba;Ca=e||Ca}};"function"==typeof define&&define.amd?define("remixml",[],qa):"object"==typeof exports?y.assign(exports,qa):ob.Remixml=qa}).call(this); | ||
}).call(this); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
593057
7476