UNPKG

debounce-redux-dispatch

Version:
1 lines 1.4 kB
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports["redux-forms-markdown-editor"]=r():e["redux-forms-markdown-editor"]=r()}("undefined"!=typeof self?self:this,function(){return function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var t={};return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="",r(r.s=0)}([function(e,r,t){"use strict";function n(e,r,t){for(var n=arguments.length,o=Array(n>3?n-3:0),u=3;u<n;u++)o[u-3]=arguments[u];var f=this,i=void 0;return function(){var n=f,u=function(){i=null,t||e.apply(n,o)},c=t&&!i;clearTimeout(i),i=setTimeout(u,r),c&&e.apply(n,o)}}Object.defineProperty(r,"__esModule",{value:!0});var o=function(e,r,t){for(var o=arguments.length,u=Array(o>3?o-3:0),f=3;f<o;f++)u[f-3]=arguments[f];return n(function(){return e(r.apply(void 0,u))},t)};r.default=function(e,r){for(var t=arguments.length,n=Array(t>2?t-2:0),u=2;u<t;u++)n[u-2]=arguments[u];return function(t){return o.apply(void 0,[t,e,r].concat(n))()}}}])});