Function: | w3SpeedsterInternalJsCustomize |
---|---|
Description: | If you wish to make changes in JavaScript files, W3Speedster allows you to make changes in JavaScript Files. |
Parameter: | $path- Path of the JS file. $string – javascript you want to make changes in. |
Return: | $string– make changes in the internal JS file. |
function w3SpeedsterInternalJsCustomize($string,$path){
if(strpos($path,'//js path//') !== false){
$string = str_replace("jQuery(windw)", "jQuery(window)",$string);
}
return $string;
}