Created by: gareth
Spotted when looking up documentation for Popups, and wondering why a raw element couldn't be passed in as a container
according to the documentation - I looked in the source and saw that it could – whatever's in container
(if truthy) gets passed into jQuery's appendTo!
I also spotted that the Tooltip type checking explicitly allows for an element to be passed, it's literally just that the documentation is out of sync.
With this change, the documentation for Tooltip and Popover now matches the types defined in the DefaultType constant in js/src/tooltip.js