Created
December 7, 2010 14:27
-
-
Save diago/731831 to your computer and use it in GitHub Desktop.
Extending Jquery functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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