remove leftover code

This commit is contained in:
Sam 2015-12-07 20:17:05 +11:00
parent 8d49091572
commit fa6687841f

View File

@ -88,12 +88,8 @@ const CloakedCollectionView = Ember.CollectionView.extend({
// but much faster value // but much faster value
parentOffsetTop = $view.offsetParent().offset().top, parentOffsetTop = $view.offsetParent().offset().top,
offsetTop = $view.offset().top, offsetTop = $view.offset().top,
viewBottom = (offsetTop - parentOffsetTop) + wrapperTop + $view.height(); viewBottom = (offsetTop - parentOffsetTop) + wrapperTop + $view.height();
console.log(viewBottom);
if (viewBottom > viewportTop) { if (viewBottom > viewportTop) {
max = mid-1; max = mid-1;
} else { } else {