You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3 lines
534 B
3 lines
534 B
10 months ago
|
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(e.callforth={})}(this,function(e){e.eventOn=function(e,n,t){var o,i;void 0===t&&(t="error");var r=new Promise(function(e,n){o=e,i=n});return e.addEventListener(n,o),e.addEventListener(t,i),r.finally(function(){e.removeEventListener(n,o),e.removeEventListener(t,i)}),r},e.timeout=function(e){return new Promise(function(n){return setTimeout(n,e)})}});
|
||
|
//# sourceMappingURL=callforth.umd.js.map
|