update components

This commit is contained in:
Luke Pulverenti 2016-11-28 14:27:21 -05:00
parent e9974f5344
commit 30584bfef9
10 changed files with 48 additions and 40 deletions

View file

@ -9,14 +9,11 @@ define(['browser', 'dom', 'css!./viewcontainer-lite'], function (browser, dom) {
function enableAnimation() {
// too slow
if (browser.tv) {
return false;
}
if (browser.operaTv) {
return false;
}
return browser.supportsCssAnimation();
}
@ -119,7 +116,6 @@ define(['browser', 'dom', 'css!./viewcontainer-lite'], function (browser, dom) {
if (oldAnimatedPage) {
if (isBack) {
oldAnimatedPage.style.animation = 'view-slideright-r ' + duration + 'ms ease-out normal both';
setAnimation(oldAnimatedPage, 'view-slideright-r ' + duration + 'ms ease-out normal both');
} else {
setAnimation(oldAnimatedPage, 'view-slideleft-r ' + duration + 'ms ease-out normal both');