Skip to content

Commit

Permalink
Bake 'easeOutQuad' easing function into nag module.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamolivinius committed Mar 23, 2016
1 parent 42e41c2 commit e9d6b71
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/definitions/modules/nag.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,4 +483,11 @@ $.fn.nag.settings = {

};

// Adds easing
$.extend( $.easing, {
easeOutQuad: function (x, t, b, c, d) {
return -c *(t/=d)*(t-2) + b;
}
});

})( jQuery, window, document );

0 comments on commit e9d6b71

Please sign in to comment.