update sync

This commit is contained in:
Luke Pulverenti 2016-08-23 02:42:15 -04:00
parent 0a7858143c
commit dd0540c6b9
13 changed files with 578 additions and 439 deletions

View file

@ -262,6 +262,11 @@ define(['dom'], function (dom) {
var elementRect = getViewportBoundingClientRect(curr, windowData);
// not currently visible
if (!elementRect.width && !elementRect.height) {
continue;
}
switch (direction) {
case 0: