You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. If you actually go to the link on that site, it takes you to the releases where you can download the version you want. If you need a bundled version, you can download a < v1.0.0 release which came bundled. Starting from v1.0.0, we removed the bundled version as it was usually bundled with out of date versions of Drop and Tether as well as had many issues with others trying to use Tooltip with AMD/CJS/Require/etc. If you install Tooltip via bower, it will actually download Tether and Drop as well as Tooltip, but you will need to include them separately.
That said, I'll see how difficult it would be to provide a bundled version. The main issue was that Tether and Drop are UMD wrapped, so you can't nest UMD wrappers or provide more than one per file. I can look into having both Tether and Drop provide un-wrapped versions of themselves and using those to bundle Tooltip while providing UMD. Other than convenience though, if there a specific reason you would want this all in one file rather than managing each library individually?
@mrdoinel You could also chain the dependencies together and load them asynchronously in parallel using Fetch Inject:
consttether=['https://cdn.jsdelivr.net/tether/1.4.0/tether.min.js']constdrop=['https://cdn.jsdelivr.net/drop/1.4.2/js/drop.min.js']consttooltip=['https://cdn.jsdelivr.net/tooltip/1.2.0/tooltip.min.js','https://cdn.jsdelivr.net/tooltip/1.2.0/tooltip-theme-arrows.css']fetchInject(tooltip,fetchInject(drop,fetchInject(tether))).then(()=>{newTooltip({target: document.querySelector('h1'),content: "You moused over the first <b>H1</b>!",classes: 'tooltip-theme-arrows',position: 'bottom center'})})
Is there a way to download latest release of the Tooltip plugin bundled with dependencies (Tether + Drop) ?
Ideally available on the official tooltip page : http://github.hubspot.com/tooltip/docs/welcome/
So everyone can easily update it.
Cheers!
The text was updated successfully, but these errors were encountered: