You are here

function jqmulti_jquery_path in jQuery Multi 7

Same name and namespace in other branches
  1. 6 jqmulti.module \jqmulti_jquery_path()

Returns the path to the currently selected version of jQuery.

1 call to jqmulti_jquery_path()
jqmulti_js_alter in ./jqmulti.module
Implements hook_js_alter().

File

./jqmulti.module, line 185
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;
}