test(collectionRepeat): fix faulty tests

This commit is contained in:
Andrew
2015-02-25 10:21:01 -07:00
parent 27298e9209
commit e87449440e
2 changed files with 9 additions and 9 deletions

View File

@@ -202,7 +202,6 @@ function CollectionRepeatDirective($ionicCollectionManager, $parse, $window, $$r
}
}
function refreshDimensions() {
console.log('refreshDimensions', validateResize.height, validateResize.width);
if (heightData.computed || widthData.computed) {
computeStyleDimensions();
}
@@ -450,7 +449,7 @@ function RepeatManagerFactory($rootScope, $window, $$rAF) {
isDataReady = true;
if (isLayoutReady && isDataReady) {
forceRerender();
setTimeout(scrollView.resize.bind(scrollView));
setTimeout(angular.bind(scrollView, scrollView.resize));
}
};