remixml-embed
Advanced tools
Comparing version 6.0.1 to 6.1.0
{ | ||
"name": "remixml-embed", | ||
"version": "6.0.1", | ||
"version": "6.1.0", | ||
"description": | ||
@@ -5,0 +5,0 @@ "Remixml component that loads embedded <script type='text/remixml'> tags", |
@@ -11,3 +11,3 @@ /** @license Copyright (c) 2018-2021 by Stephen R. van den Berg <srb@cuci.nl> */ | ||
(function() | ||
(() => | ||
{ "use strict"; | ||
@@ -36,3 +36,3 @@ | ||
r.open("GET", url); | ||
r.onload = function() | ||
r.onload = () => | ||
{ if (r.status >= 200 && r.status < 500) | ||
@@ -39,0 +39,0 @@ cb(r.responseText); |
@@ -12,3 +12,3 @@ /** @license Copyright (c) 2018-2021 by Stephen R. van den Berg <srb@cuci.nl> */ | ||
// Cut BEGIN delete | ||
(function() | ||
(() => | ||
{ "use strict"; | ||
@@ -43,3 +43,3 @@ // Cut END delete | ||
r.open("GET", url); | ||
r.onload = function() | ||
r.onload = () => | ||
{ if (r.status >= 200 && r.status < 500) | ||
@@ -46,0 +46,0 @@ cb(r.responseText); |
(function(){"use strict"; | ||
/* | ||
Copyright (c) 2018-2021 by Stephen R. van den Berg <srb@cuci.nl> */ | ||
'use strict';(function(){function g(b,c){let a=new XMLHttpRequest;a.open("GET",b);a.onload=function(){200<=a.status&&500>a.status&&c(a.responseText)};a.send()}function e(b,c,a){if(null==a){if(b.src){g(b.src,function(l){e(b,c,l)});return}a=b.text}a=h(a)(c);a=k.abstract2dom(a,void 0);b.parentNode.replaceChild(a,b)}function f(b){h=(k=b).compile;return m}var d=Object,h,k;const m={loadscripts:function(b,c){b=b.querySelectorAll('script[type="text/remixml"]');var a;for(a=0;a<b.length;)e(b[a++],c)},loadscript:e, | ||
fetchfile:g};"function"==typeof define&&define.amd?define("remixml-embed",["remixml"],f):"object"==typeof exports?d.assign(exports,f(require("remixml"))):(d=window,d.Remixmlembed=f(d.Remixml))}).call(this); | ||
'use strict';(()=>{function g(b,c){let a=new XMLHttpRequest;a.open("GET",b);a.onload=()=>{200<=a.status&&500>a.status&&c(a.responseText)};a.send()}function e(b,c,a){if(null==a){if(b.src){g(b.src,function(l){e(b,c,l)});return}a=b.text}a=h(a)(c);a=k.abstract2dom(a,void 0);b.parentNode.replaceChild(a,b)}function f(b){h=(k=b).compile;return m}var d=Object,h,k;const m={loadscripts:function(b,c){b=b.querySelectorAll('script[type="text/remixml"]');var a;for(a=0;a<b.length;)e(b[a++],c)},loadscript:e,fetchfile:g}; | ||
"function"==typeof define&&define.amd?define("remixml-embed",["remixml"],f):"object"==typeof exports?d.assign(exports,f(require("remixml"))):(d=window,d.Remixmlembed=f(d.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
15219