mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
style(*): jscs linter updates to nav improvements
This commit is contained in:
3
js/angular/controller/tabsController.js
vendored
3
js/angular/controller/tabsController.js
vendored
@@ -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) {
|
||||
}
|
||||
};
|
||||
}]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user