Add animation for detail page

This commit is contained in:
Tom Raithel
2017-02-14 23:23:26 +01:00
parent 1b67e9725d
commit 335e01f5e1
6 changed files with 93 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
import filter from './filter';
import details from './details';
import applyPjax from './pjax';
const enhanceComponent = (selector, enhancer) => {
@@ -8,6 +9,7 @@ const enhanceComponent = (selector, enhancer) => {
const enhanceComponents = () => {
enhanceComponent('.js--filter', filter);
enhanceComponent('.js--details', details);
}
applyPjax();