remixml-dom
Advanced tools
Comparing version 4.0.6 to 4.0.7
{ | ||
"name": "remixml-dom", | ||
"version": "4.0.6", | ||
"version": "4.0.7", | ||
"description": "Remixml component that renders to DOM in browsers", | ||
@@ -5,0 +5,0 @@ "main": "remixml-dom.min.js", |
@@ -52,4 +52,5 @@ /** @license Copyright (c) 2018-2021 by Stephen R. van den Berg <srb@cuci.nl> */ | ||
return newcm(vdom[0]); | ||
case "<": | ||
case "?": | ||
return newcm("?" + vdom[0]); | ||
return newcm(name + vdom[0]); | ||
case 1: | ||
@@ -56,0 +57,0 @@ parent = D.createDocumentFragment(); |
@@ -59,4 +59,5 @@ /** @license Copyright (c) 2018-2021 by Stephen R. van den Berg <srb@cuci.nl> */ | ||
return newcm(vdom[0]); | ||
case "<": | ||
case "?": | ||
return newcm("?" + vdom[0]); | ||
return newcm(name + vdom[0]); | ||
case 1: | ||
@@ -63,0 +64,0 @@ parent = D.createDocumentFragment(); |
@@ -5,5 +5,5 @@ (function(){"use strict"; | ||
function p(h){var e=0;return function(){return e<h.length?{done:!1,value:h[e++]}:{done:!0}}} | ||
(function(){function h(b){var a=b[""];switch(a){case "!":return f.createComment(b[0]);case "?":return f.createComment("?"+b[0]);case 1:var d=f.createDocumentFragment();break;default:d=f.createElement(a);var c=g.keys(b).splice(b.length);c=(a="undefined"!=typeof Symbol&&Symbol.iterator&&c[Symbol.iterator])?a.call(c):{next:p(c)};for(a=c.next();!a.done;a=c.next())switch(a=a.value,a[0]){default:var k=b[a];null!=k&&"object"!==typeof k&&d.setAttribute(a,k);case "_":case void 0:}}for(a=0;void 0!==(c=b[a++]);)d.appendChild(c[""]? | ||
h(c):0>c.indexOf("&")?f.createTextNode(c):(l.innerHTML=c,l.firstChild));return d}function e(b){g.assign(b,m);return m}var g=Object,f=document,m={abstract2dom:function(b,a){b=h(b);a&&(a.appendChild(b),b=a);return b}};g.assign||g.defineProperty(g,"assign",{value:function(b,a,d){if(a)for(d in a)b[d]=a[d];return b}});var l=f.createElement("textarea");if("function"==typeof define&&define.amd)define("remixml-dom",["remixml"],e);else if("object"==typeof exports)g.assign(exports,e(require("remixml")));else{var n= | ||
window;n.RemixmlDOM=e(n.Remixml)}}).call(this); | ||
(function(){function h(b){var a=b[""];switch(a){case "!":return f.createComment(b[0]);case "<":case "?":return f.createComment(a+b[0]);case 1:var d=f.createDocumentFragment();break;default:d=f.createElement(a);var c=g.keys(b).splice(b.length);c=(a="undefined"!=typeof Symbol&&Symbol.iterator&&c[Symbol.iterator])?a.call(c):{next:p(c)};for(a=c.next();!a.done;a=c.next())switch(a=a.value,a[0]){default:var k=b[a];null!=k&&"object"!==typeof k&&d.setAttribute(a,k);case "_":case void 0:}}for(a=0;void 0!== | ||
(c=b[a++]);)d.appendChild(c[""]?h(c):0>c.indexOf("&")?f.createTextNode(c):(l.innerHTML=c,l.firstChild));return d}function e(b){g.assign(b,m);return m}var g=Object,f=document,m={abstract2dom:function(b,a){b=h(b);a&&(a.appendChild(b),b=a);return b}};g.assign||g.defineProperty(g,"assign",{value:function(b,a,d){if(a)for(d in a)b[d]=a[d];return b}});var l=f.createElement("textarea");if("function"==typeof define&&define.amd)define("remixml-dom",["remixml"],e);else if("object"==typeof exports)g.assign(exports, | ||
e(require("remixml")));else{var n=window;n.RemixmlDOM=e(n.Remixml)}}).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
20750
180