I have used the $.get function in many cases in my project:
$.get(user, function (data) {
// CODE
});
Now, i want to modify it to:
$.get(user, function (data) {
if (validate_data(data)){
// CODE
}
});
but it is impossible to go to every single javascript file in project and modify all the instances. Is it possible to modify the jquery.js file instead to get the same result?