-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
I don't know if it's an issue but I looked at this file and compared it with original bootstrap.js file. This file is a bit different. There is no:
if (typeof jQuery === 'undefined') {
throw new Error('Bootstrap\'s JavaScript requires jQuery')
}
+function ($) {
var version = $.fn.jquery.split(' ')[0].split('.')
if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) {
throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher')
}
}(jQuery);
part and the order of other parts is also different. If it's not a bug or issue, why this file is different than original file?