|
|
@ -238,10 +238,10 @@ function createStoryJS(c, src) { |
|
|
|
var jquery_version_required_array = jquery_version_required.split("."); |
|
|
|
var jquery_version_required_array = jquery_version_required.split("."); |
|
|
|
ready.jquery = true; |
|
|
|
ready.jquery = true; |
|
|
|
for (i = 0; i < 2; i++) { |
|
|
|
for (i = 0; i < 2; i++) { |
|
|
|
if (parseFloat(jquery_version_array[i]) < parseFloat(jquery_version_required_array[i])) { |
|
|
|
var have = jquery_version_array[i], need = parseFloat(jquery_version_required_array[i]); |
|
|
|
//console.log("NOT THE REQUIRED VERSION OF JQUERY, LOADING THE REQUIRED VERSION");
|
|
|
|
if (have != need) { |
|
|
|
//console.log("YOU HAVE VERSION " + jQuery.fn.jquery + ", JQUERY VERSION " + jquery_version_required + " OR ABOVE NEEDED");
|
|
|
|
ready.jquery = have > need; |
|
|
|
ready.jquery = false; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|