Skip to content

Instantly share code, notes, and snippets.

@diago
Created December 7, 2010 14:27
Show Gist options
  • Save diago/731831 to your computer and use it in GitHub Desktop.
Save diago/731831 to your computer and use it in GitHub Desktop.
Extending Jquery functions
// jQuery Extended
var $ajax = $.ajax;
$.ajax = function(options){
var options = $.extend({cache: false}, options || {});
return $ajax(options);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment