m |
|||
Line 31: | Line 31: | ||
'use strict'; | 'use strict'; | ||
var version = $.fn.jquery.split(' ')[0].split('.') | var version = $.fn.jquery.split(' ')[0].split('.') | ||
− | if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) { | + | 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') | throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher') | ||
} | } |
Revision as of 18:43, 5 August 2016