style(*): jscs linter updates to nav improvements

This commit is contained in:
Adam Bradley
2014-11-11 23:04:33 -06:00
parent 2b23957558
commit 5d6a33c1db
19 changed files with 145 additions and 150 deletions

View File

@@ -52,7 +52,7 @@ function($scope, $ionicHistory, $element) {
var tabIndex;
if (angular.isNumber(tab)) {
tabIndex = tab;
if(tabIndex >= self.tabs.length) return;
if (tabIndex >= self.tabs.length) return;
tab = self.tabs[tabIndex];
} else {
tabIndex = self.tabs.indexOf(tab);
@@ -92,4 +92,3 @@ function($scope, $ionicHistory, $element) {
}
};
}]);