Permalink
Browse files

queueFn: updating minified version

  • Loading branch information...
1 parent 3da4e20 commit f6c5c3eda7505b64a7d6ecbf02bf1718bb960ef4 @cowboy committed Sep 5, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery.ba-queuefn.min.js
View
4 jquery.ba-queuefn.min.js
@@ -1,9 +1,9 @@
/*
- * jQuery queueFn - v0.6 - 06/21/2010
+ * jQuery queueFn - v0.7 - 9/05/2010
* http://benalman.com/projects/jquery-misc-plugins/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
-(function($){$.fn.queueFn=function(b){var a=Array.prototype.slice.call(arguments,1);b=$.isFunction(b)?b:$.fn[b];return this.queue(function(){b.apply($(this),a);$.dequeue(this)})}})(jQuery);
+(function($){$.fn.queueFn=function(c){var b,d,a=Array.prototype.slice.call(arguments,1);if(typeof c==="boolean"){if(c){d=this;b=this.length}c=a.shift()}c=$.isFunction(c)?c:$.fn[c];return this.queue(function(){!--b&&c.apply(d||this,a);$.dequeue(this)})}})(jQuery);

0 comments on commit f6c5c3e

Please sign in to comment.