leohxj
9/11/2013 - 8:01 AM

stopAnimate for Zepto.js

stopAnimate for Zepto.js

$.fn.stopAnimte = function() {
  var endEvent = $.fx.transitionEnd;
  this.css('transition', 'none').unbind(endEvent);
  return this;
}