From 3e8b34be2fdeccf16c8b46f1ee518f970853768d Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Tue, 24 Oct 2017 16:59:48 -0400 Subject: Adding in materialize source and templates --- app/dispatch/static/materialize/js/animation.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/dispatch/static/materialize/js/animation.js (limited to 'app/dispatch/static/materialize/js/animation.js') 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 -- cgit v1.2.3