Description
I'm researching using velocity for a new project for which performance is a huge concern. Adding velocity on top of jQuery's effects is something I will have a hard time selling to the stakeholders.
Since Velocity and jQuery's effects are roughly the same size, I would feel much better custom building jQuery to not include effects, and use Velocity for everything relating to animation.
From what I can tell, of jQuery's effects, Velocity is only dependent on $.easing, which is not present if you build jQuery -effects. I'd love to see Velocity work with jQuery -effects.
I haven't dived in to this, but I can manage to get jQuery -effects and Velocity to load without errors if I add:
jQuery.easing = {
linear: function( p ) {
return p;
},
swing: function( p ) {
return 0.5 - Math.cos( p*Math.PI ) / 2;
}
};
(taken straight from jQuery) after loading jQuery and before loading Velocity. There may be some more dependencies that I haven't yet encountered, but either way this would be an awesome change to make Velocity all the better.
Activity