diff options
| author | Mitch Riedstra <Mitch@riedstra.us> | 2017-10-24 16:59:48 -0400 |
|---|---|---|
| committer | Mitch Riedstra <Mitch@riedstra.us> | 2017-10-24 16:59:48 -0400 |
| commit | 3e8b34be2fdeccf16c8b46f1ee518f970853768d (patch) | |
| tree | abcb7d0cb260790a2b4a746e3959f2e7ee3a33f7 /app/dispatch/static/materialize/js/animation.js | |
| parent | 4ee5893fd9c82228c62306fc7f5babdfc602e4c4 (diff) | |
| download | dispatch-tracker-3e8b34be2fdeccf16c8b46f1ee518f970853768d.tar.gz dispatch-tracker-3e8b34be2fdeccf16c8b46f1ee518f970853768d.tar.xz | |
Adding in materialize source and templates
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 |
