[Info Bubble] Add test cases for gesture

Add test cases for the info gesture, WTD-884.
This commit is contained in:
Victor Woeltjen
2015-06-05 06:31:23 -07:00
parent 1567c32993
commit d2a75c4338
2 changed files with 82 additions and 0 deletions

View File

@ -61,6 +61,7 @@ define(
if (pendingBubble) {
$timeout.cancel(pendingBubble);
element.off('mousemove', trackPosition);
element.off('mouseleave', hideBubble);
pendingBubble = undefined;
}
// Also clear mouse position so we don't have a ton of tiny