Comparing version 6.0.10 to 6.0.11
{ | ||
"name": "remixml", | ||
"version": "6.0.10", | ||
"version": "6.0.11", | ||
"description": "XML/HTML-like macro language/template compiler engine", | ||
@@ -5,0 +5,0 @@ "main": "remixml.min.js", |
@@ -412,2 +412,4 @@ /** @license | ||
r = []; | ||
if (!isa(k)) | ||
k.length = 0; // Obj.assign bails out otherwise Object->Array | ||
r = /** @type {!Array} */(Obj.assign(r, k)); | ||
@@ -414,0 +416,0 @@ i = r.length; |
@@ -420,2 +420,4 @@ /** @license | ||
r = []; | ||
if (!isa(k)) | ||
k.length = 0; // Obj.assign bails out otherwise Object->Array | ||
r = /** @type {!Array} */(Obj.assign(r, k)); | ||
@@ -422,0 +424,0 @@ i = r.length; |
@@ -36,5 +36,5 @@ (function(){"use strict"; | ||
default:b=Y(b)}else- -b==b&&(b+="");e&&!b[""]&&sa&&(b=sa(e,b,a));switch(c){case "json":b=JSON.stringify(b).replace(cb,"\\\\u003c");break;case "uric":b=b.replace(db,Ha);break;default:b[""]||(b=Array.isArray(b)?b.join(", "):b,b=(e=Fa[c])?e(b):b.replace(eb,Ja));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,["("+ya(b)+")"]);return b};O=function(a,b){var c;if(b)for(c in b)delete b[c];else b= | ||
[];b=w.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[""]||w.keys(a).length:0};desc=function(a){return- -a===a?-a:[a,1]};abstract2dom=function(a,b){return ia.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,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 l of w.keys(a).splice(a.length))switch(l[0]){default:var g=a[l];null!=g&&(g[""]&&(g=g.join("")),c+=" "+l,l!==g&&(c+='="'+(g.replace?g.replace(fb,"&dquot;"):g)+'"'));case "_":case void 0:}if(!a.length)return c+(b&&"br"!==e?"></"+e+">":"/>");c+=">"}for(g=0;void 0!==(l=a[g++]);)c+=l[""]?Y(l,b):l;e&&(c+="</"+e+">");return c}; | ||
const ia={remixml2js:ka,js2obj:ja,compile:ua,parse2txt:function(a,b,c){ea(a)&&(a=ja(ka(a,c)));return Y(a(b))},abstract2txt:Y,add_filter:function(a,b){Fa[a]=b},set_proc_fmt:function(a){sa=a},set_tag:function(a,b,c,e,l){N(b);Ma(a,b,c,e,l)},set_log_callback:function(a){Ga=a}};"function"==typeof define&&define.amd?define("remixml",[],ia):"object"==typeof exports?w.assign(exports,ia):bb.Remixml=ia}).call(this); | ||
[];Array.isArray(a)||(a.length=0);b=w.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[""]||w.keys(a).length:0};desc=function(a){return- -a===a?-a:[a,1]};abstract2dom=function(a,b){return ia.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,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 l of w.keys(a).splice(a.length))switch(l[0]){default:var g=a[l];null!=g&&(g[""]&&(g=g.join("")),c+=" "+l,l!==g&&(c+='="'+(g.replace?g.replace(fb,"&dquot;"):g)+'"'));case "_":case void 0:}if(!a.length)return c+(b&&"br"!==e?"></"+e+">":"/>");c+=">"}for(g=0;void 0!==(l=a[g++]);)c+=l[""]?Y(l,b):l;e&&(c+="</"+ | ||
e+">");return c};const ia={remixml2js:ka,js2obj:ja,compile:ua,parse2txt:function(a,b,c){ea(a)&&(a=ja(ka(a,c)));return Y(a(b))},abstract2txt:Y,add_filter:function(a,b){Fa[a]=b},set_proc_fmt:function(a){sa=a},set_tag:function(a,b,c,e,l){N(b);Ma(a,b,c,e,l)},set_log_callback:function(a){Ga=a}};"function"==typeof define&&define.amd?define("remixml",[],ia):"object"==typeof exports?w.assign(exports,ia):bb.Remixml=ia}).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
559100
7151