Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. _.mixin({
  2. memoizeDebounce: function (func, wait = 0, options = {}) {
  3. const mem = _.memoize(function () {
  4. return _.debounce(func, wait, options)
  5. }, options.resolver)
  6. return function () {
  7. mem.apply(this, arguments).apply(this, arguments)
  8. }
  9. }
  10. })
  11.  
  12. __WEBPACK_IMPORTED_MODULE_12_lodash___default.a.memoizeDebounce is not a function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement