From 43dbaeaf1efdb2886651fd5da4d7d03de8d7aac8 Mon Sep 17 00:00:00 2001 From: Ben Finney Date: Fri, 15 Jul 2016 05:14:06 +1000 Subject: 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 --- coverage/htmlfiles/jquery.ba-throttle-debounce.min.js | 9 +++++++++ coverage/htmlfiles/jquery.debounce.min.js | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 coverage/htmlfiles/jquery.ba-throttle-debounce.min.js delete mode 100644 coverage/htmlfiles/jquery.debounce.min.js (limited to 'coverage') 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); diff --git a/coverage/htmlfiles/jquery.debounce.min.js b/coverage/htmlfiles/jquery.debounce.min.js deleted file mode 100644 index 648fe5d3..00000000 --- a/coverage/htmlfiles/jquery.debounce.min.js +++ /dev/null @@ -1,9 +0,0 @@ -/* - * 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); -- cgit v1.2.1 From c4de69c91cc851eece835c614284bebd2c125ec7 Mon Sep 17 00:00:00 2001 From: Ben Finney Date: Fri, 15 Jul 2016 05:14:41 +1000 Subject: Correct references to the debounce library file. --- coverage/html.py | 2 +- coverage/htmlfiles/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'coverage') diff --git a/coverage/html.py b/coverage/html.py index e5b1db2a..66827d75 100644 --- a/coverage/html.py +++ b/coverage/html.py @@ -78,7 +78,7 @@ class HtmlReporter(Reporter): STATIC_FILES = [ ("style.css", ""), ("jquery.min.js", "jquery"), - ("jquery.debounce.min.js", "jquery-debounce"), + ("jquery.ba-throttle-debounce.min.js", "jquery-throttle-debounce"), ("jquery.hotkeys.js", "jquery-hotkeys"), ("jquery.isonscreen.js", "jquery-isonscreen"), ("jquery.tablesorter.min.js", "jquery-tablesorter"), diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html index ee2deab0..1e3999f9 100644 --- a/coverage/htmlfiles/index.html +++ b/coverage/htmlfiles/index.html @@ -11,7 +11,7 @@ {% endif %} - + -- cgit v1.2.1