function ew_jQueryFile($f) { $v = "1.11.2"; // Get jQuery version return str_replace("%v", $v, ew_jQueryHost() . $f); }
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); }