This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Add missing Mootools when Bootstrap is loaded | |
* This fix creates dummy implementations for the missing Mootools functions. | |
* It requires that you have jQuery loaded and if you are dealing with Mootools + jQuery is a good idea to add the call just before this javascript code. | |
* This issue shouldn't affect Bootstrap 3 templates but the fix explained here should be compatible with both. | |
*/ | |
(function($) | |
{ | |
$(document).ready(function(){ | |
var bootstrapLoaded = (typeof $().carousel == 'function'); |