diff options
| author | Ben Finney <ben+python@benfinney.id.au> | 2016-07-15 05:14:06 +1000 |
|---|---|---|
| committer | Ben Finney <ben+python@benfinney.id.au> | 2016-07-15 05:14:06 +1000 |
| commit | 43dbaeaf1efdb2886651fd5da4d7d03de8d7aac8 (patch) | |
| tree | 0a86a0b1dd5885caa40c375da7cdff015b8a8b68 /coverage/htmlfiles/jquery.ba-throttle-debounce.min.js | |
| parent | ae89878f20e6ef2009d8351668ffa522a02f6c7b (diff) | |
| download | python-coveragepy-git-43dbaeaf1efdb2886651fd5da4d7d03de8d7aac8.tar.gz | |
Name the debounce library to the canonical upstream filename.
--HG--
rename : coverage/htmlfiles/jquery.debounce.min.js => coverage/htmlfiles/jquery.ba-throttle-debounce.min.js
Diffstat (limited to 'coverage/htmlfiles/jquery.ba-throttle-debounce.min.js')
| -rw-r--r-- | coverage/htmlfiles/jquery.ba-throttle-debounce.min.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/coverage/htmlfiles/jquery.ba-throttle-debounce.min.js b/coverage/htmlfiles/jquery.ba-throttle-debounce.min.js new file mode 100644 index 00000000..648fe5d3 --- /dev/null +++ b/coverage/htmlfiles/jquery.ba-throttle-debounce.min.js @@ -0,0 +1,9 @@ +/* + * jQuery throttle / debounce - v1.1 - 3/7/2010 + * http://benalman.com/projects/jquery-throttle-debounce-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(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); |
