Skip to content

Commit 22ccc27

Browse files
committed
test(jscs): fixing JSCS errors of recent merges
1 parent c917b24 commit 22ccc27

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

js/angular/controller/tabsController.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function($scope, $element, $ionicHistory) {
115115
return false;
116116
};
117117

118-
self.showBar = function (show) {
118+
self.showBar = function(show) {
119119
if (arguments.length) {
120120
if (show) {
121121
$element.removeClass('tabs-item-hide');

js/angular/directive/spinner.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ IonicModule
189189
var spinnerName = ctrl.init();
190190
$element.addClass('spinner spinner-' + spinnerName);
191191

192-
$element.on('$destroy', function onDestroy()
193-
{
192+
$element.on('$destroy', function onDestroy() {
194193
ctrl.stop();
195194
});
196195
}

js/angular/service/tabsDelegate.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ IonicModule
5757
* @param {boolean} show Whether to show the bar.
5858
* @returns {boolean} Whether the bar is shown.
5959
*/
60-
'showBar',
60+
'showBar'
6161
/**
6262
* @ngdoc method
6363
* @name $ionicTabsDelegate#$getByHandle
@@ -69,4 +69,3 @@ IonicModule
6969
* Example: `$ionicTabsDelegate.$getByHandle('my-handle').select(0);`
7070
*/
7171
]));
72-

0 commit comments

Comments
 (0)