New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better support for Browserify #28
Comments
Hi again! You may have seen the other comment as well, but |
Thanks will try to integrate the new version soon. It seems you have also fixed the "destory" method name :p |
Yup! 😅 No more silly hacks like: typeof drop.destroy === 'undefined' ? drop.destroy() : drop.destory(); |
@geekjuice just tried and the integration did not work for me:
|
Ah... it might be because it's still using the older Update: The other thing is make sure you install |
yes thanks @geekjuice it works :) waiting for a new release :) |
Cool. Just for reference what fixed the issue (so I know what exactly to fix) |
this works. tether and tether-drop were already correctly installed automatically as they are transitive dependencies declared in package.json |
Perfect 👍. I'll make sure to test browserify/Common.JS properly and release an update soon. |
thanks tell me when it's ready :) |
Published |
thanks it works fine for me |
@geekjuice is it absolutely required to use Bower? It seems that requiring tether tooltip requires our devs to install bower first
|
Hmm, I guess not. It would be nice if most would, but I guess that won't be the case. I can remove the Update: v1.0.5 removes that post-install step f0e351f. |
thanks :) |
Hi,
I tried to use Tooltip from Browserify (see #27) and got an error.
The problem is that when you do
var Tooltip = require("tether-tooltip/tooltip");
it does not export Tooltip constructor but Tether constructor.Also it would be nice to have an main/index.js entry point for the lib so that we can simply call
var Tooltip = require("tether-tooltip");
It is still possible to use this lib with Browserify by accessing the global variable Tooltip. What I did in a TetherTooltip.js file:
The text was updated successfully, but these errors were encountered: