mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
ionicLoading directive cleanup
This commit is contained in:
3
dist/js/ionic-angular.js
vendored
3
dist/js/ionic-angular.js
vendored
@@ -24918,9 +24918,6 @@ angular.module('ionic.ui.loading', [])
|
||||
replace: true,
|
||||
transclude: true,
|
||||
link: function($scope, $element){
|
||||
$scope.$on('$destroy', function() {
|
||||
$element.remove();
|
||||
});
|
||||
$element.addClass($scope.animation || '');
|
||||
},
|
||||
template: '<div class="loading-backdrop" ng-class="{enabled: showBackdrop}">' +
|
||||
|
||||
3
js/ext/angular/src/directive/ionicLoading.js
vendored
3
js/ext/angular/src/directive/ionicLoading.js
vendored
@@ -9,9 +9,6 @@ angular.module('ionic.ui.loading', [])
|
||||
replace: true,
|
||||
transclude: true,
|
||||
link: function($scope, $element){
|
||||
$scope.$on('$destroy', function() {
|
||||
$element.remove();
|
||||
});
|
||||
$element.addClass($scope.animation || '');
|
||||
},
|
||||
template: '<div class="loading-backdrop" ng-class="{enabled: showBackdrop}">' +
|
||||
|
||||
Reference in New Issue
Block a user