Added a Tooltip component via tooltip.js that allows a more abstract and flexible implementation of tooltips. Other components can pass in the data and format they want to be displayed into the Tooltip and the Tooltip will handle the displaying, showing, and hiding of the tooltip on the page.
Modified cite-ref.js to utilize this tooltip component for inline citations.
Added a Tooltip component via
tooltip.js
that allows a more abstract and flexible implementation of tooltips. Other components can pass in the data and format they want to be displayed into the Tooltip and the Tooltip will handle the displaying, showing, and hiding of the tooltip on the page. Modifiedcite-ref.js
to utilize this tooltip component for inline citations.