test(list): use timeout.flush()

This commit is contained in:
Andrew
2014-07-06 14:20:48 -06:00
parent ba56bb983f
commit 22a81fe82c
3 changed files with 3 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ function($scope, $attrs, $ionicSideMenuDelegate, $ionicPlatform) {
};
this.dragThreshold = 25;
this.dragOnlyEdge = false;
this.edgeDragThreshold = function(value) {
if (arguments.length) {
if (angular.isNumber(value) && value > 0) {