MCPcopy Create free account
hub / github.com/BloombergGraphics/whatiscode / k

Function k

scripts/libs/jquery.ba-throttle-debounce.min.js:9–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7 * http://benalman.com/about/license/
8 */
9(function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n)}function k(){h=c}if(i&&!h){l()}h&&clearTimeout(h);if(i===c&&m>e){l()}else{if(f!==true){h=setTimeout(i?k:l,i===c?e-m:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false)}})(this);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected