()
| 1015 | $tip.removeClass('in') |
| 1016 | |
| 1017 | function removeWithAnimation() { |
| 1018 | var timeout = setTimeout(function () { |
| 1019 | $tip.off($.support.transition.end).detach() |
| 1020 | }, 500) |
| 1021 | |
| 1022 | $tip.one($.support.transition.end, function () { |
| 1023 | clearTimeout(timeout) |
| 1024 | $tip.detach() |
| 1025 | }) |
| 1026 | } |
| 1027 | |
| 1028 | $.support.transition && this.$tip.hasClass('fade') ? |
| 1029 | removeWithAnimation() : |
no test coverage detected