Example #1
0
function ew_jQueryFile($f)
{
    $v = "1.11.2";
    // Get jQuery version
    return str_replace("%v", $v, ew_jQueryHost() . $f);
}
Example #2
0
function ew_jQueryFile($f)
{
    $ver = "1.10.2";
    // Get jQuery version
    $mver = "1.3.2";
    // Get jQuery.mobile version
    $m = strpos($f, "mobile") !== FALSE;
    $v = $m ? $mver : $ver;
    return str_replace("%v", $v, ew_jQueryHost($m) . $f);
}