Comparing version 0.0.1 to 0.0.2
@@ -1,2 +0,2 @@ | ||
var e=0;export default function(t,n){if(!t||!n)throw new Error("astrochimp requires both a URL and a data object");return function(r,o){var c=document.createElement("script"),u="__astrochimp"+e++;function i(){window[u]=function(){},document.head.removeChild(c)}return c.src=(t+"&"+function(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;r++)n.push(key+"="+e[key]);return encodeURI(n.join("&"))}(n)+"&c="+u).replace(/post\?u=/,"post-json?u="),window[u]=function(e){if(/[0-9]\s-/.test(e.msg)||"error"===e.result)return o(e);r(e),i()},document.head.appendChild(c),function(){i()}}}; | ||
var e=0;export default function(n,t,r){if(!n||!t)throw new Error("astrochimp requires both a URL and a data object");var o=document.createElement("script"),u="__astrochimp"+e++;function c(){window[u]=function(){},document.head.removeChild(o)}return o.src=(n+"&"+function(e){for(var n=Object.keys(e),t=[],r=0;r<n.length;r++)t.push(n[r]+"="+e[n[r]]);return encodeURI(t.join("&"))}(t)+"&c="+u).replace(/post\?u=/,"post-json?u="),window[u]=function(e){if(/[0-9]\s-/.test(e.msg)||"error"===e.result)return r(e,null);r(null,e),c()},document.head.appendChild(o),function(){c()}}; | ||
//# sourceMappingURL=astrochimp.es.js.map |
@@ -1,2 +0,2 @@ | ||
var e=0;module.exports=function(n,t){if(!n||!t)throw new Error("astrochimp requires both a URL and a data object");return function(r,o){var c=document.createElement("script"),u="__astrochimp"+e++;function i(){window[u]=function(){},document.head.removeChild(c)}return c.src=(n+"&"+function(e){for(var n=Object.keys(e),t=[],r=0;r<n.length;r++)t.push(key+"="+e[key]);return encodeURI(t.join("&"))}(t)+"&c="+u).replace(/post\?u=/,"post-json?u="),window[u]=function(e){if(/[0-9]\s-/.test(e.msg)||"error"===e.result)return o(e);r(e),i()},document.head.appendChild(c),function(){i()}}}; | ||
var e=0;module.exports=function(n,t,r){if(!n||!t)throw new Error("astrochimp requires both a URL and a data object");var o=document.createElement("script"),u="__astrochimp"+e++;function c(){window[u]=function(){},document.head.removeChild(o)}return o.src=(n+"&"+function(e){for(var n=Object.keys(e),t=[],r=0;r<n.length;r++)t.push(n[r]+"="+e[n[r]]);return encodeURI(t.join("&"))}(t)+"&c="+u).replace(/post\?u=/,"post-json?u="),window[u]=function(e){if(/[0-9]\s-/.test(e.msg)||"error"===e.result)return r(e,null);r(null,e),c()},document.head.appendChild(o),function(){c()}}; | ||
//# sourceMappingURL=astrochimp.js.map |
@@ -1,2 +0,2 @@ | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):e.astrochimp=n()}(this,function(){var e=0;return function(n,t){if(!n||!t)throw new Error("astrochimp requires both a URL and a data object");return function(o,r){var i=document.createElement("script"),u="__astrochimp"+e++;function c(){window[u]=function(){},document.head.removeChild(i)}return i.src=(n+"&"+function(e){for(var n=Object.keys(e),t=[],o=0;o<n.length;o++)t.push(key+"="+e[key]);return encodeURI(t.join("&"))}(t)+"&c="+u).replace(/post\?u=/,"post-json?u="),window[u]=function(e){if(/[0-9]\s-/.test(e.msg)||"error"===e.result)return r(e);o(e),c()},document.head.appendChild(i),function(){c()}}}}); | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):e.astrochimp=n()}(this,function(){var e=0;return function(n,t,o){if(!n||!t)throw new Error("astrochimp requires both a URL and a data object");var r=document.createElement("script"),i="__astrochimp"+e++;function u(){window[i]=function(){},document.head.removeChild(r)}return r.src=(n+"&"+function(e){for(var n=Object.keys(e),t=[],o=0;o<n.length;o++)t.push(n[o]+"="+e[n[o]]);return encodeURI(t.join("&"))}(t)+"&c="+i).replace(/post\?u=/,"post-json?u="),window[i]=function(e){if(/[0-9]\s-/.test(e.msg)||"error"===e.result)return o(e,null);o(null,e),u()},document.head.appendChild(r),function(){u()}}}); | ||
//# sourceMappingURL=astrochimp.umd.js.map |
{ | ||
"name": "astrochimp", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Tiny MailChimp list subscribe utility.", | ||
@@ -5,0 +5,0 @@ "source": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
8558
8
1
21