@ -231,13 +231,15 @@ function createStoryJS(c, src) {
ready . has _jquery = jQuery ;
ready . has _jquery = true ;
if ( ready . has _jquery ) {
var jquery _version = parseFloat ( jQuery . fn . jquery ) ;
if ( jquery _version < parseFloat ( jquery _version _required ) ) {
//console.log("NOT THE REQUIRED VERSION OF JQUERY, LOADING THE REQUIRED VERSION");
//console.log("YOU HAVE VERSION " + jQuery.fn.jquery + ", JQUERY VERSION " + jquery_version_required + " OR ABOVE NEEDED");
ready . jquery = false ;
} else {
ready . jquery = true ;
var jquery _version _array = jQuery . fn . jquery . split ( "." ) ;
var jquery _version _required _array = jquery _version _required . split ( "." ) ;
ready . jquery = true ;
for ( i = 0 ; i < 2 ; i ++ ) {
if ( parseFloat ( jquery _version _array [ i ] ) < parseFloat ( jquery _version _required _array [ i ] ) ) {
//console.log("NOT THE REQUIRED VERSION OF JQUERY, LOADING THE REQUIRED VERSION");
//console.log("YOU HAVE VERSION " + jQuery.fn.jquery + ", JQUERY VERSION " + jquery_version_required + " OR ABOVE NEEDED");
ready . jquery = false ;
}
}
}
} catch ( err ) {