UNPKG

ht_hooks

Version:
10 lines 390 B
import { debounce } from 'lodash-es'; function isNodeOrWeb() { var freeGlobal = (typeof global === 'undefined' ? 'undefined' : typeof global) == 'object' && global && global.Object === Object && global; var freeSelf = typeof self == 'object' && self && self.Object === Object && self; return freeGlobal || freeSelf; } if (!isNodeOrWeb()) { global.Date = Date; } export { debounce };