From c73c32d12759a44c46b18548e7d1ef3fc1678473 Mon Sep 17 00:00:00 2001 From: "Cheng-Han, Wu" Date: Sun, 29 May 2016 17:49:29 +0800 Subject: [PATCH] Update to replace animation acceleration library from gsap to velocity --- bower.json | 4 ++-- public/views/foot.ejs | 6 ++---- public/views/index.ejs | 6 ++---- public/views/slide.hbs | 1 + 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/bower.json b/bower.json index 81103c5..7de4af5 100644 --- a/bower.json +++ b/bower.json @@ -20,7 +20,6 @@ "font-awesome": "~4.6.2", "Ionicons": "ionicons#~2.0.1", "reveal.js": "~3.2.0", - "gsap": "greensock#~1.18.0", "jquery-mousewheel": "~3.1.13", "spin.js": "~2.3.2", "moment": "~2.12.0", @@ -45,6 +44,7 @@ "markdown-it-container": "^2.0.0", "mermaid": "^0.5.8", "MathJax": "^2.6.1", - "octicons": "^3.5.0" + "octicons": "^3.5.0", + "velocity": "^1.2.3" } } diff --git a/public/views/foot.ejs b/public/views/foot.ejs index 7adb8c7..28a1fe4 100644 --- a/public/views/foot.ejs +++ b/public/views/foot.ejs @@ -4,10 +4,9 @@ <% if(useCDN) { %> + - - @@ -16,10 +15,9 @@ <% } else { %> + - - diff --git a/public/views/index.ejs b/public/views/index.ejs index 9a4db7a..abedab4 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -186,18 +186,16 @@ <% if(useCDN) { %> + - - <% } else { %> + - - diff --git a/public/views/slide.hbs b/public/views/slide.hbs index 262a5df..e2e2e9a 100644 --- a/public/views/slide.hbs +++ b/public/views/slide.hbs @@ -21,6 +21,7 @@ document.write( '' ); +