mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
jshint fixes
This commit is contained in:
4
js/ext/angular/src/directive/ionicContent.js
vendored
4
js/ext/angular/src/directive/ionicContent.js
vendored
@@ -89,7 +89,7 @@ angular.module('ionic.ui.content', [])
|
||||
el: $element[0],
|
||||
scrollbarX: $scope.$eval($scope.scrollbarX) !== false,
|
||||
scrollbarY: $scope.$eval($scope.scrollbarY) !== false,
|
||||
scrollingX: $scope.$eval($scope.hasScrollX) == true,
|
||||
scrollingX: $scope.$eval($scope.hasScrollX) === true,
|
||||
scrollingY: $scope.$eval($scope.hasScrollY) !== false,
|
||||
scrollEventInterval: parseInt($scope.scrollEventInterval, 10) || 20,
|
||||
scrollingComplete: function() {
|
||||
@@ -126,7 +126,7 @@ angular.module('ionic.ui.content', [])
|
||||
// Run the resize after this digest
|
||||
$timeout(function() {
|
||||
sv && sv.resize();
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
$scope.$parent.$on('scroll.refreshComplete', function(e) {
|
||||
|
||||
2
js/ext/angular/src/directive/ionicScroll.js
vendored
2
js/ext/angular/src/directive/ionicScroll.js
vendored
@@ -86,7 +86,7 @@ angular.module('ionic.ui.scroll', [])
|
||||
// Run the resize after this digest
|
||||
$timeout(function() {
|
||||
sv && sv.resize();
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
$scope.$parent.$on('scroll.refreshComplete', function(e) {
|
||||
|
||||
Reference in New Issue
Block a user