summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles/jquery.debounce.min.js
diff options
context:
space:
mode:
authorNed Batchelder <nedbat@gmail.com>2014-10-20 18:35:26 -0400
committerNed Batchelder <nedbat@gmail.com>2014-10-20 18:35:26 -0400
commit2fda349bba5e55240e4f8b2cedf7ee29d60207b2 (patch)
tree51a7eda6cf8d9e61adcb3ca791f9917065125085 /coverage/htmlfiles/jquery.debounce.min.js
parentcd015c45c278aca757263746ed2e64c46d578ddd (diff)
parentad4c7f3a5194f6966454d534f02e6b02633fa370 (diff)
downloadpython-coveragepy-git-2fda349bba5e55240e4f8b2cedf7ee29d60207b2.tar.gz
Merged in dannya/coverage.py_2 (pull request #34)
Rework of my pull request #18:
Diffstat (limited to 'coverage/htmlfiles/jquery.debounce.min.js')
-rw-r--r--coverage/htmlfiles/jquery.debounce.min.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/coverage/htmlfiles/jquery.debounce.min.js b/coverage/htmlfiles/jquery.debounce.min.js
new file mode 100644
index 00000000..88f16f33
--- /dev/null
+++ b/coverage/htmlfiles/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); \ No newline at end of file