Comparing version 5.3.8 to 5.4.0
{ | ||
"name": "remixml", | ||
"version": "5.3.8", | ||
"version": "5.4.0", | ||
"description": "XML/HTML-like macro language/template compiler engine", | ||
@@ -15,5 +15,5 @@ "main": "remixml.min.js", | ||
"incremental-dom": "*", | ||
"remixml-dom": "*", | ||
"remixml-embed": "*", | ||
"remixml-fmt": "*", | ||
"remixml-embed": "*", | ||
"remixml-dom": "*", | ||
"remixml-htmldom": "*", | ||
@@ -20,0 +20,0 @@ "remixml-idom": "*", |
@@ -78,3 +78,3 @@ /** @license | ||
const /** !Object */ logcache = {}; | ||
var /** function(string,*,!Object):!Array */ procfmt; | ||
var /** function(string,*,!Object):* */ procfmt; | ||
var /** function(...) */ debuglog = console.debug; | ||
@@ -349,3 +349,2 @@ var /** function(...) */ log = console.error; | ||
{ var /** * */ x = isa(vname) ? vname[0] : VE($, vname); | ||
var iscurrency; | ||
if (x == null) | ||
@@ -366,5 +365,3 @@ x = ""; | ||
if (fmt && !x[""] && procfmt) | ||
{ iscurrency = (x = procfmt(fmt, x, $))[1]; | ||
x = x[0]; | ||
} | ||
x = procfmt(fmt, x, $); | ||
switch (quot) | ||
@@ -376,3 +373,3 @@ { case "json": x = JSON.stringify(x).replace(ltrx, "\\\\u003c"); | ||
default: | ||
if (!x[""] && !iscurrency) // Don't escape | ||
if (!x[""]) | ||
{ if (isa(x)) | ||
@@ -1156,3 +1153,3 @@ x = x.join(", "); | ||
"set_proc_fmt": | ||
function /** void */(/** function(string,*,!Object):!Array */ fmtfn) | ||
function /** void */(/** function(string,*,!Object):* */ fmtfn) | ||
{ procfmt = fmtfn; | ||
@@ -1159,0 +1156,0 @@ }, |
@@ -86,3 +86,3 @@ /** @license | ||
const /** !Object */ logcache = {}; | ||
var /** function(string,*,!Object):!Array */ procfmt; | ||
var /** function(string,*,!Object):* */ procfmt; | ||
var /** function(...) */ debuglog = console.debug; | ||
@@ -357,3 +357,2 @@ var /** function(...) */ log = console.error; | ||
{ var /** * */ x = isa(vname) ? vname[0] : VE($, vname); | ||
var iscurrency; | ||
if (x == null) | ||
@@ -374,5 +373,3 @@ x = ""; | ||
if (fmt && !x[""] && procfmt) | ||
{ iscurrency = (x = procfmt(fmt, x, $))[1]; | ||
x = x[0]; | ||
} | ||
x = procfmt(fmt, x, $); | ||
switch (quot) | ||
@@ -384,3 +381,3 @@ { case "json": x = JSON.stringify(x).replace(ltrx, "\\\\u003c"); | ||
default: | ||
if (!x[""] && !iscurrency) // Don't escape | ||
if (!x[""]) | ||
{ if (isa(x)) | ||
@@ -1164,3 +1161,3 @@ x = x.join(", "); | ||
"set_proc_fmt": | ||
function /** void */(/** function(string,*,!Object):!Array */ fmtfn) | ||
function /** void */(/** function(string,*,!Object):* */ fmtfn) | ||
{ procfmt = fmtfn; | ||
@@ -1167,0 +1164,0 @@ }, |
@@ -38,3 +38,3 @@ (function(){"use strict"; | ||
a.splice(b.length),c)try{a=a.sort(function(f,k){var l,n;f=c(f);k=c(k);var p=0;for(l=f.length;p<l;p++){var d=0;Array.isArray(f[p])&&(d=1,f[p]=f[p][0],k[p]=k[p][0]);if(n=f[p]>k[p]||-(f[p]!==k[p]))break}return d?-n:n})}catch(f){D(f,c)}Aa();Sa();return a[Symbol.iterator]()};B=function(a,b,c,f){for(var k=0;k<c.length;){var l=c[k++];switch(l[""]){default:B(a,b,l,f);return;case f:b.push(C(l,a));case void 0:}}};T=function(a){var b=a.split(rb),c;a="$";b=Ua(b);for(c=b.next();!c.done;c=b.next())c=c.value,a+= | ||
Ha(c);return a};Z=function(a,b,c,f){b=Array.isArray(b)?b[0]:VE(a,b);null==b&&(b="");"function"===typeof b&&(b=b(a._,a));if(b[""])switch(c){case "r":case "recurse":case "":case "none":if(!f)break;default:b=Y(b)}else- -b==b&&(b+="");if(f&&!b[""]&&ya){var k=(b=ya(f,b,a))[1];b=b[0]}switch(c){case "json":b=JSON.stringify(b).replace(nb,"\\\\u003c");break;case "uric":b=b.replace(ob,t);break;default:b[""]||k||(Array.isArray(b)&&(b=b.join(", ")),b=(f=Qa[c])?f(b):b.replace(pb,H));case "":case "none":case "r":case "recurse":}switch(b.length){case 0:b= | ||
Ha(c);return a};Z=function(a,b,c,f){b=Array.isArray(b)?b[0]:VE(a,b);null==b&&(b="");"function"===typeof b&&(b=b(a._,a));if(b[""])switch(c){case "r":case "recurse":case "":case "none":if(!f)break;default:b=Y(b)}else- -b==b&&(b+="");f&&!b[""]&&ya&&(b=ya(f,b,a));switch(c){case "json":b=JSON.stringify(b).replace(nb,"\\\\u003c");break;case "uric":b=b.replace(ob,t);break;default:b[""]||(Array.isArray(b)&&(b=b.join(", ")),b=(f=Qa[c])?f(b):b.replace(pb,H));case "":case "none":case "r":case "recurse":}switch(b.length){case 0:b= | ||
"";break;case 1:1===b[""]&&(b=b[0])}if("r"===c)for(c="";b!==c&&0<=b.indexOf("&");)c=b,b=VE(a,["("+Ia(b)+")"]);return b};O=function(a,b){var c;if(b)for(c in b)delete b[c];else b=[];b=r.assign(b,a);for(c=b.length;c--;)b[c][""]&&(b[c]=O(b[c]));return b};K=function(a,b,c){c[""]?(1===c[""]?b.push.apply(b,O(c)):b.push(c),c=1):c||void 0!==c&&c?(b.push(c),c=1):c=0;return c};sizeof=function(a){return Number(a)===a?1:a?a.length||1!==a[""]||r.keys(a).length:0};desc=function(a){return- -a===a?-a:[a,1]};abstract2dom= | ||
@@ -41,0 +41,0 @@ function(a,b){return na.abstract2dom(a,b)};abstract2txt=Y=function(a,b){for(;;){switch(a[""]){case void 0:return a;case 1:switch(a.length){case 0:return"";case 1:a=a[0];continue}}break}var c,f=a[""];switch(f){case "!":return"\x3c!--"+a[0]+"--\x3e";case "<":return"<!"+a[0]+">";case "?":return"<?"+a[0]+"?>";case 1:f=c="";break;default:c="<"+f;var k,l=Ua(r.keys(a).splice(a.length));for(k=l.next();!k.done;k=l.next())switch(k=k.value,k[0]){default:var n=a[k];null!=n&&(n[""]&&(n=n.join("")),c+=" "+k,k!== |
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
573034
7063