mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(ionicScrollController): remove accidental test-code
This commit is contained in:
@@ -57,15 +57,3 @@ angular.module('ionic.ui.scroll')
|
||||
}]);
|
||||
|
||||
})();
|
||||
|
||||
var popups = [];
|
||||
function showPopup() {
|
||||
var newPopupDeferred = $q.defer();
|
||||
$q.all(popups).then(showThisPopup);
|
||||
|
||||
popups.push(newPopupDeferred);
|
||||
|
||||
function showThisPopup() {
|
||||
popups.splice(popups.indexOf(newPopupDeferred.promise), 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user