From 7be152819df08be4f868aeaf4258ca8dc0d0fc13 Mon Sep 17 00:00:00 2001 From: Luke Morton Date: Wed, 5 Jan 2011 00:47:33 +0000 Subject: [PATCH] Removed comment bloat from js which is now documented in the README --- jquery.bind.js | 32 +++----------------------------- 1 file changed, 3 insertions(+), 29 deletions(-) diff --git a/jquery.bind.js b/jquery.bind.js index c94b707..4911e79 100644 --- a/jquery.bind.js +++ b/jquery.bind.js @@ -1,5 +1,6 @@ /** * jQuery Bind Bonuses + * https://github.com/DrPheltRight/jQuery-Bind-Bonuses * * This jQuery plugin (if you can call it that) adds two methods * to your toolkit. The first bindStop, is like bind apart from @@ -7,7 +8,7 @@ * callback. Example uses include form validation. The second is * bindThrottle that throttles events. * - * Both methods unlike bind accept a third parameter, "delay", + * Both methods unlike bind accept a fourth parameter, "delay", * which is the amount of time they wait until they call your * callback. * @@ -16,34 +17,7 @@ * @author Luke Morton, 2011 * @license MIT */ - /** - * $.fn.bindStop - * - * This method waits until delay time after the last - * occurance of event, then calls the callback. - * - * @param string jQuery event, e.g. 'click', 'keydown' - * @param object jQuery event data - * @param callback Callback function - * @param mixed jQuery duration, e.g. 'slow', 'fast' - * or an integer (milliseconds) - * @return this - */ - /** - * $.fn.bindThrottle - * - * This method only calls a callback if the event hasn't - * been called in the last delay. If it has been called - * it waits until after the throttle time to call it. - * - * @param string jQuery event, e.g. 'click', 'keydown' - * @param object jQuery event data - * @param callback Callback function - * @param mixed jQuery duration, e.g. 'slow', 'fast' - * or an integer (milliseconds) - * @return this - */ - + (function ($) { // Get jQuery duration