This question is an exact duplicate of:
- jquery, bootstrap 3.0, and requirejs. can't use bootstrap's functions 2 answers
I'm trying to use jquery/bootstrap/ and requirejs
Loading js files works perfectly and I checked that bootstrap sets $.fn.tab = someFunction;
but then, inside requirejs's callback function, calling $(foo).tab('show') results in an error saying that tab is not available for the object.
Uncaught TypeError: Object [object Object] has no method 'tab'
Everything loads fine, I confirmed they do by printing a log.
But I guess $ is redefined or something.
Where should I start to look?
grep '$\s*='
?
my code is rather long and I posted under a different question: jquery, bootstrap 3.0, and requirejs. can't use bootstrap's functions
I'm using django if that makes any difference