Comparing version 1.0.3 to 1.0.4
@@ -8,2 +8,2 @@ /*! | ||
*/ | ||
!function(a,t){"use strict";if(void 0===t)return console.error("jQuery required for Ladda.jQuery");var d=[];(t=t.extend(t,{ladda:function(t){"stopAll"===t&&a.stopAll()}})).fn=t.extend(t.fn,{ladda:function(e){var i=d.slice.call(arguments,1);return"bind"===e?(i.unshift(t(this).selector),a.bind.apply(a,i)):t(this).each(function(){var d,r=t(this);void 0===e?r.data("ladda",a.create(this)):(d=r.data("ladda"))[e].apply(d,i)}),this}})}(this.Ladda,this.jQuery); | ||
!function(a,i){"use strict";if(void 0===i)return console.error("jQuery required for Ladda.jQuery");var t=[];(i=i.extend(i,{ladda:function(i){"stopAll"===i&&a.stopAll()}})).fn=i.extend(i.fn,{ladda:function(d){var e=t.slice.call(arguments,1);if("bind"===d)e.unshift(i(this).selector),a.bind.apply(a,e);else{if("isLoading"===d)return i(this).data("ladda").isLoading();i(this).each(function(){var t,n=i(this);void 0===d?n.data("ladda",a.create(this)):(t=n.data("ladda"))[d].apply(t,e)})}return this}})}(this.Ladda,this.jQuery); |
/*! | ||
* Ladda 1.0.3 (2017-08-27, 21:26) | ||
* Ladda 1.0.4 (2017-08-27, 22:35) | ||
* http://lab.hakim.se/ladda | ||
@@ -4,0 +4,0 @@ * MIT licensed |
@@ -34,2 +34,6 @@ /*! | ||
} | ||
else if ( arg === 'isLoading' ) { | ||
var ladda = $(this).data( 'ladda' ); | ||
return ladda.isLoading(); | ||
} | ||
else { | ||
@@ -36,0 +40,0 @@ $( this ).each( function() { |
{ | ||
"name": "ladda", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Buttons with built-in loading indicators", | ||
@@ -5,0 +5,0 @@ "homepage": "http://lab.hakim.se/ladda", |
388531
947