diff --git a/jquery.animateNumber.min.js b/jquery.animateNumber.min.js index 6fb265f..6b5b94e 100644 --- a/jquery.animateNumber.min.js +++ b/jquery.animateNumber.min.js @@ -1,8 +1,8 @@ /* - jQuery animateNumber plugin v0.0.5 + jQuery animateNumber plugin v0.0.6 (c) 2013, Alexandr Borisov. https://github.com/aishek/jquery-animateNumber */ -(function(d){if(!d.Tween||!d.Tween.propHooks)throw Error("jquery.animateNumber requires jQuery 1.8.0 or higher");var h={numberStep:function(b,a){var e=Math.floor(b);d(a.elem).text(e)}};d.Tween.propHooks.number={set:function(b){if(b.elem.nodeType&&b.elem.parentNode){var a=b.elem._animateNumberSetter;a||(a=h.numberStep);a(b.now,b)}}};d.animateNumber={numberStepFactories:{append:function(b){return function(a,e){var f=Math.floor(a);d(e.elem).prop("number",a).text(f+b)}},separator:function(b,a){b=b||" "; -a=a||3;return function(e,f){var c=Math.floor(e).toString(),m=d(f.elem);if(c.length>a){for(var n=c.split("").reverse(),g=[],k,p,l,q=0,h=Math.ceil(c.length/a);qa){for(var n=c.split("").reverse(),f=[],k,p,l,q=0,h=Math.ceil(c.length/a);q