Twitter Bootstrap js file loaded but not working alongside requirejs
问题 I have a Laravel app that uses Twitter Bootstrap. Everything was working fine and then I implemented the Aloha WYSIWYG editor - http://www.aloha-editor.org/ which uses RequireJS. I load the JS files in the following order: jQuery BootstrapJS file RequireJS AlohaJS In that order, Aloha will work fine but the $().modal function won't work (TypeError is not a function...) I can see that bootstrap.min.js is loaded in Firebug though. If I remove the RequireJS the bootstrap functions work fine. I