summaryrefslogtreecommitdiff
path: root/doc/sample_html/jquery.debounce.min.js
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-09-20 10:31:52 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-09-20 10:31:52 -0400
commita6f8fd26ab1c019dba1bad590c5170a79d575f36 (patch)
tree249184e8a8555b1b7d4fc633d0d6f0a88360128e /doc/sample_html/jquery.debounce.min.js
parent4c5e40148d75ed04b1c0b6cbe099d9c1327cff48 (diff)
downloadpython-coveragepy-a6f8fd26ab1c019dba1bad590c5170a79d575f36.tar.gz
Latest sample HTML report
Diffstat (limited to 'doc/sample_html/jquery.debounce.min.js')
-rw-r--r--doc/sample_html/jquery.debounce.min.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/sample_html/jquery.debounce.min.js b/doc/sample_html/jquery.debounce.min.js
new file mode 100644
index 0000000..648fe5d
--- /dev/null
+++ b/doc/sample_html/jquery.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);