Marked all the appropriate methods as being deprecated for the 1.1.4 release (in preparation for 1.2).
This commit is contained in:
parent
4df20c0c1b
commit
257eaf7ee3
3 changed files with 11 additions and 0 deletions
|
@ -15,6 +15,7 @@ jQuery.fn.extend({
|
|||
* @param Function callback (optional) A function to be executed whenever the data is loaded (parameters: responseText, status and response itself).
|
||||
* @cat Ajax
|
||||
*/
|
||||
// DEPRECATED
|
||||
loadIfModified: function( url, params, callback ) {
|
||||
this.load( url, params, callback, 1 );
|
||||
},
|
||||
|
@ -302,6 +303,7 @@ jQuery.extend({
|
|||
* @param Function callback (optional) A function to be executed whenever the data is loaded successfully.
|
||||
* @cat Ajax
|
||||
*/
|
||||
// DEPRECATED
|
||||
getIfModified: function( url, data, callback, type ) {
|
||||
return jQuery.get(url, data, callback, type, 1);
|
||||
},
|
||||
|
@ -414,6 +416,7 @@ jQuery.extend({
|
|||
* @param Number time How long before an AJAX request times out, in milliseconds.
|
||||
* @cat Ajax
|
||||
*/
|
||||
// DEPRECATED
|
||||
ajaxTimeout: function( timeout ) {
|
||||
jQuery.ajaxSettings.timeout = timeout;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue