component/clipboard-dom — pull request #5 by dominicbarnes (2014-06-16 21:31:33+00:00)
Title: Correcting repositioning issue after hiding clipboard embed

The `appendElem` parameter is used when calculating the position of the clip. The `reposition` method had no awareness of `appendElem`, so it gave the wrong position if you called `hide` and `show` after the initial creation.

This stores a reference to the `appendElem` that is used later by `reposition`.