Skip to content

Commit c8e8124

Browse files
committed
lint balls
1 parent ebd76d5 commit c8e8124

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

js/angular/controller/refresherController.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ IonicModule
8484
}];
8585

8686
// Force mouse events to have had a down event first
87-
if(!startY && e.type == 'mousemove') {
87+
if (!startY && e.type == 'mousemove') {
8888
return;
8989
}
9090

js/angular/directive/sideMenuContent.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ function($timeout, $ionicGesture, $window) {
136136
setCanScroll: function(canScroll) {
137137
var c = $element[0].querySelector('.scroll');
138138

139-
if(!c) {
139+
if (!c) {
140140
return;
141141
}
142142

143143
var content = angular.element(c.parentElement);
144-
if(!content) {
144+
if (!content) {
145145
return;
146146
}
147147

js/angular/service/modal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function($rootScope, $ionicBody, $compile, $timeout, $ionicPlatform, $ionicTempl
188188
self.$el.on('touchmove', function(e) {
189189
//Don't allow scrolling while open by dragging on backdrop
190190
var isInScroll = ionic.DomUtil.getParentOrSelfWithClass(e.target, 'scroll');
191-
if(!isInScroll) {
191+
if (!isInScroll) {
192192
e.preventDefault();
193193
}
194194
});

js/utils/poly.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@
4444
})();
4545

4646
(function() {
47-
var touchStartEvent = 'touchstart'
48-
var touchMoveEvent = 'touchmove'
49-
var touchEndEvent = 'touchend'
50-
var touchCancelEvent = 'touchcancel'
47+
var touchStartEvent = 'touchstart';
48+
var touchMoveEvent = 'touchmove';
49+
var touchEndEvent = 'touchend';
50+
var touchCancelEvent = 'touchcancel';
51+
5152
if (window.navigator.pointerEnabled) {
5253
touchStartEvent = 'pointerdown';
5354
touchMoveEvent = 'pointermove';

js/views/scrollViewNative.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@
456456
e.stopPropagation();
457457
return false;
458458
}
459-
}
459+
};
460460

461461
container.addEventListener('scroll', self.onScroll);
462462

0 commit comments

Comments
 (0)