function jqmulti_jquery_path in jQuery Multi 6
Same name and namespace in other branches
- 7 jqmulti.module \jqmulti_jquery_path()
Returns the path to the currently selected version of jQuery.
1 call to jqmulti_jquery_path()
- jqmulti_alter_scripts in ./
jqmulti.module - This is where the magic happens. The new jQuery is added and noConflict() is run. Finally, scripts are rearranged or added so that the targeted scripts run with the newer jQuery.
File
- ./
jqmulti.module, line 194 - Code for the jQuery Multi module.
Code
function jqmulti_jquery_path() {
$version = jqmulti_get_version();
if ($version) {
return libraries_get_path('jquery') . '/jquery-' . $version . '.min.js';
}
return FALSE;
}