diff options
Diffstat (limited to 'app/dispatch/static/materialize/js/animation.js')
| -rw-r--r-- | app/dispatch/static/materialize/js/animation.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/dispatch/static/materialize/js/animation.js b/app/dispatch/static/materialize/js/animation.js new file mode 100644 index 0000000..b8a532a --- /dev/null +++ b/app/dispatch/static/materialize/js/animation.js @@ -0,0 +1,8 @@ +// Custom Easing
+jQuery.extend( jQuery.easing,
+{
+ easeInOutMaterial: function (x, t, b, c, d) {
+ if ((t/=d/2) < 1) return c/2*t*t + b;
+ return c/4*((t-=2)*t*t + 2) + b;
+ }
+});
\ No newline at end of file |
