diff --git a/dist/index.umd.js b/dist/index.umd.js index 6db15e1..ebd07fd 100644 --- a/dist/index.umd.js +++ b/dist/index.umd.js @@ -716,7 +716,7 @@ tagA.style.display = 'none'; document.body.appendChild(tagA); - tagA.onclick(); + tagA.click(); } /** diff --git a/dist/index.umd.min.js b/dist/index.umd.min.js index 26acd17..6819a5d 100644 --- a/dist/index.umd.min.js +++ b/dist/index.umd.min.js @@ -1 +1 @@ -!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n=n||self).CallApp=e()}(this,function(){"use strict";function n(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function e(n,e){return n(e={exports:{}},e.exports),e.exports}var v=e(function(n){var e=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}),y=e(function(n){var e=n.exports={version:"2.5.7"};"number"==typeof __e&&(__e=e)}),m=(y.version,function(r,o,n){if(function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!")}(r),void 0===o)return r;switch(n){case 1:return function(n){return r.call(o,n)};case 2:return function(n,e){return r.call(o,n,e)};case 3:return function(n,e,t){return r.call(o,n,e,t)}}return function(){return r.apply(o,arguments)}}),o=function(n){return"object"==typeof n?null!==n:"function"==typeof n},r=function(n){if(!o(n))throw TypeError(n+" is not an object!");return n},t=function(n){try{return!!n()}catch(n){return!0}},i=!t(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),u=v.document,a=o(u)&&o(u.createElement),c=!i&&!t(function(){return 7!=Object.defineProperty((n="div",a?u.createElement(n):{}),"a",{get:function(){return 7}}).a;var n}),f=Object.defineProperty,s={f:i?Object.defineProperty:function(n,e,t){if(r(n),e=function(n,e){if(!o(n))return n;var t,r;if(e&&"function"==typeof(t=n.toString)&&!o(r=t.call(n)))return r;if("function"==typeof(t=n.valueOf)&&!o(r=t.call(n)))return r;if(!e&&"function"==typeof(t=n.toString)&&!o(r=t.call(n)))return r;throw TypeError("Can't convert object to primitive value")}(e,!0),r(t),c)try{return f(n,e,t)}catch(n){}if("get"in t||"set"in t)throw TypeError("Accessors not supported!");return"value"in t&&(n[e]=t.value),n}},b=i?function(n,e,t){return s.f(n,e,{enumerable:!((r=1)&r),configurable:!(2&r),writable:!(4&r),value:t});var r}:function(n,e,t){return n[e]=t,n},l={}.hasOwnProperty,g=function(n,e){return l.call(n,e)},O="prototype",_=function(n,e,t){var r,o,i,u=n&_.F,a=n&_.G,c=n&_.S,f=n&_.P,s=n&_.B,l=n&_.W,p=a?y:y[e]||(y[e]={}),d=p[O],h=a?v:c?v[e]:(v[e]||{})[O];for(r in a&&(t=e),t)(o=!u&&h&&void 0!==h[r])&&g(p,r)||(i=o?h[r]:t[r],p[r]=a&&"function"!=typeof h[r]?t[r]:s&&o?m(i,v):l&&h[r]==i?function(r){var n=function(n,e,t){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(n);case 2:return new r(n,e)}return new r(n,e,t)}return r.apply(this,arguments)};return n[O]=r[O],n}(i):f&&"function"==typeof i?m(Function.call,i):i,f&&((p.virtual||(p.virtual={}))[r]=i,n&_.R&&d&&!d[r]&&b(d,r,i)))};_.F=1,_.G=2,_.S=4,_.P=8,_.B=16,_.W=32,_.U=64,_.R=128;var p,d,h,w=_,k={}.toString,j=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==(e=n,k.call(e).slice(8,-1))?n.split(""):Object(n);var e},S=function(n){if(null==n)throw TypeError("Can't call method on "+n);return n},C=function(n){return j(S(n))},M=Math.ceil,T=Math.floor,E=function(n){return isNaN(n=+n)?0:(0o;)g(r,t=e[o++])&&(~R(i,t)||i.push(t));return i}(n,q)},Q={f:Object.getOwnPropertySymbols},B={f:{}.propertyIsEnumerable},Y=function(n){return Object(S(n))},G=Object.assign,H=!G||t(function(){var n={},e={},t=Symbol(),r="abcdefghijklmnopqrst";return n[t]=7,r.split("").forEach(function(n){e[n]=n}),7!=G({},n)[t]||Object.keys(G({},e)).join("")!=r})?function(n,e){for(var t=Y(n),r=arguments.length,o=1,i=Q.f,u=B.f;oo;)g(r,t=n[o++])&&(~R(i,t)||i.push(t));return i}(e,q)},Q={f:Object.getOwnPropertySymbols},B={f:{}.propertyIsEnumerable},Y=function(e){return Object(S(e))},G=Object.assign,H=!G||t(function(){var e={},n={},t=Symbol(),r="abcdefghijklmnopqrst";return e[t]=7,r.split("").forEach(function(e){n[e]=e}),7!=G({},e)[t]||Object.keys(G({},n)).join("")!=r})?function(e,n){for(var t=Y(e),r=arguments.length,o=1,i=Q.f,u=B.f;o