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

JQuery loaded too late? #33

Open
dh1tw opened this issue Apr 29, 2015 · 2 comments
Open

JQuery loaded too late? #33

dh1tw opened this issue Apr 29, 2015 · 2 comments

Comments

@dh1tw
Copy link

dh1tw commented Apr 29, 2015

Hey,

I created an empty Meteor project (1.1.0.2), and simple added meteor-x-editable-bootstrap.

When I execute Meteor and load the client, I get to following error message in my browser's debug console:

[Error] TypeError: undefined is not an object (evaluating '$.fn.popover.Constructor')
(anonymous function) (natestrauser_x-editable-bootstrap.js, line 4741)
(anonymous function) (natestrauser_x-editable-bootstrap.js, line 4953)
global code (natestrauser_x-editable-bootstrap.js, line 17232)

I'm not sure, but might it be possible that x-editable-bootstrap is loaded before jQuery?

@kizimo
Copy link

kizimo commented Aug 21, 2015

https://github.com/nate-strauser/meteor-x-editable-bootstrap/issues/35......i was using nemo64:bootstrap....when I switched over to twbs:bootstrap, it no longer gave me the error

Nemo64/meteor-bootstrap#14

@mizzao
Copy link
Collaborator

mizzao commented Sep 22, 2015

This is because only twbs:bootstrap is added as a weak dep in package.js.

EDIT: I added a weak dep on nemo64:bootstrap in the latest version, can you see if that fixes it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants