diff --git a/js/angular/controller/scrollController.js b/js/angular/controller/scrollController.js index c9efbde5a4a..f06f2483dd2 100644 --- a/js/angular/controller/scrollController.js +++ b/js/angular/controller/scrollController.js @@ -12,7 +12,6 @@ IonicModule '$document', '$ionicScrollDelegate', '$ionicHistory', - '$controller', function($scope, scrollViewOptions, $timeout, @@ -20,8 +19,7 @@ function($scope, $location, $document, $ionicScrollDelegate, - $ionicHistory, - $controller) { + $ionicHistory) { var self = this; // for testing diff --git a/js/angular/directive/collectionRepeat.js b/js/angular/directive/collectionRepeat.js index 5f9b0e27d3d..9efa80df26a 100644 --- a/js/angular/directive/collectionRepeat.js +++ b/js/angular/directive/collectionRepeat.js @@ -267,7 +267,7 @@ function CollectionRepeatDirective($ionicCollectionManager, $parse, $window, $$r var withoutQuotes = attrValue.replace(/(\'|\"|px|%)/g, '').trim(); var isConstant = withoutQuotes.length && !/([a-zA-Z]|\$|:|\?)/.test(withoutQuotes); - dimensionData.attrValue = attrValue;; + dimensionData.attrValue = attrValue; // If it's a constant, it's either a percent or just a constant pixel number. if (isConstant) { @@ -536,7 +536,7 @@ function RepeatManagerFactory($rootScope, $window, $$rAF) { item = itemsShownMap[i] || (itemsShownMap[i] = itemsLeaving.length ? itemsLeaving.pop() : itemsPool.length ? itemsPool.shift() : - new RepeatItem()) + new RepeatItem()); itemsEntering.push(item); item.isShown = true;