Skip to content
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

Tooltips: "Tether is not defined" #17273

Closed
lgkonline opened this issue Aug 24, 2015 · 10 comments
Closed

Tooltips: "Tether is not defined" #17273

lgkonline opened this issue Aug 24, 2015 · 10 comments
Labels

Comments

@lgkonline
Copy link

Today I wanted to try the Bootstrap 4 alpha and when I want to use the tooltips plugin I get this error in my debugger console:

Uncaught ReferenceError: Tether is not defined
bootstrap.js:2967

show @ bootstrap.js:2967
_enter @ bootstrap.js:316
4n.extend.proxy.n.isFunction.e @ jquery-1.11.0.min.js:2
n.each.n.event.special.(anonymous function).handle @ jquery-1.11.0.min.js:3
n.event.dispatch @ jquery-1.11.0.min.js:3
n.event.add.r.handle @ jquery-1.11.0.min.js:3
@kkirsche
Copy link
Contributor

@lgkonline did you load the tether javascript library? You'll notice in the docs we load this file to load the tether library https://github.com/twbs/bootstrap/blob/v4-dev/docs/assets/js/vendor/tether.min.js#L1

@zacechola
Copy link

Should x-ref with #17201 and cc @fat. There are options for handling dependencies in general that need to be worked out.

@cvrebert
Copy link
Collaborator

We should probably throw a more explicit "Bootstrap tooltips require Tether ()" error/warning like we do for jQuery.

@lgkonline
Copy link
Author

Ah, got it. Thanks guys. :)
So I need to include the Tether library.

I guess I can close issue here.

@cvrebert
Copy link
Collaborator

Reopening to track the "throw an explicit error" suggestion.

@cvrebert cvrebert reopened this Sep 13, 2015
@sdaitzman
Copy link

Does this mean that Tether needs to be imported separately from the bootstrap js?

EDIT: found the documentation! For anyone else who finds this thread, it's at http://v4-alpha.getbootstrap.com/components/tooltips/#overview

@digitaldesigndj
Copy link

I feel like tether should be included as a bower dependency of bootstrap 4.

Thanks for all the great work everyone.

@duqb
Copy link

duqb commented Dec 8, 2015

You need to include the Tether library. but Tether library return function value Tether is not a global !
however Bootstrap4.0 direct use Tether ,that Tether is not defined.

@activebiz
Copy link

+1 same issue with alpha 2.

@cvrebert
Copy link
Collaborator

See #17325.

@twbs twbs locked and limited conversation to collaborators Dec 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

9 participants