linkedin/hopscotch — pull request #62 by cedrics (2014-03-05 10:53:37+00:00)
Title: add method to redraw the bubble at a new position

Hi, I am currently implementing a tour and ran into a problem when trying to add a bubble to elements inside a scrollable area(`overflow:scroll`). Basically the bubble will be drawn at the position where the element is located and not be redrawn on scrolling (and it will also be shown even though the element is invisible, but I can handle this myself). I added a new public method to `hopscotch` to tell it that the element position has changed and the bubble needs to be redrawn called `refreshBubblePosition`.

Here is a short fiddle demonstrating the problem and my solution: http://jsfiddle.net/TnAKp/.

The test I wrote is basically testing nothing but that the new method can be called. If you want me to change the test to make it actually do something, could you give me an indication on how?

Thank you and great library!