UNPKG

uplot-react-js

Version:

"This is chart wrapper for uplot library"

3 lines (2 loc) 718 B
"use strict";function t(t,r,n){if(n||2===arguments.length)for(var o,e=0,a=r.length;e<a;e++)!o&&e in r||(o||(o=Array.prototype.slice.call(r,0,e)),o[e]=r[e]);return t.concat(o||Array.prototype.slice.call(r))}exports.__assign=function(){return exports.__assign=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++)for(var e in r=arguments[n])Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e]);return t},exports.__assign.apply(this,arguments)};exports.throttle=function(r,n){void 0===n&&(n=100);var o=!1;return function(){for(var e=[],a=0;a<arguments.length;a++)e[a]=arguments[a];o||(r.call.apply(r,t([null],e,!1)),o=!0,setTimeout((function(){o=!1}),n))}}; //# sourceMappingURL=throttle-686c97fe.js.map