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:
2
js/angular/controller/tabController.js
vendored
2
js/angular/controller/tabController.js
vendored
@@ -15,7 +15,7 @@ function($scope, $ionicHistory, $attrs, $location, $state) {
|
||||
) === 0;
|
||||
};
|
||||
this.srefMatchesState = function() {
|
||||
return $attrs.uiSref && $state.includes( $attrs.uiSref.split('(')[0] );
|
||||
return $attrs.uiSref && $state.includes($attrs.uiSref.split('(')[0]);
|
||||
};
|
||||
this.navNameMatchesState = function() {
|
||||
return this.navViewName && $ionicHistory.isCurrentStateNavView(this.navViewName);
|
||||
|
||||
Reference in New Issue
Block a user