* @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 );
},
* @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);
},
* @param Number time How long before an AJAX request times out, in milliseconds.
* @cat Ajax
*/
+ // DEPRECATED
ajaxTimeout: function( timeout ) {
jQuery.ajaxSettings.timeout = timeout;
},
* @param String str The string that will be contained within the text of an element.
* @cat DOM/Traversing
*/
+// DEPRECATED
jQuery.each( [ "eq", "lt", "gt", "contains" ], function(i,n){
jQuery.fn[ n ] = function(num,fn) {
return this.filter( ":" + n + "(" + num + ")", fn );
// :has()
has: "jQuery.find(m[3],a).length"
},
+ // DEPRECATED
"[": "jQuery.find(m[2],a).length"
},
// Match: [@value='test'], [@foo]
/^\[ *(@)([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,
+ // DEPRECATED
// Match: [div], [div p]
/^(\[)\s*(.*?(\[.*?\])?[^[]*?)\s*\]/,
// Set the correct context (if none is provided)
context = context || document;
+ // DEPRECATED
// Handle the common XPath // expression
if ( !t.indexOf("//") ) {
//context = context.documentElement;
t = t.substr(2,t.length);
+ // DEPRECATED
// And the / root expression
} else if ( !t.indexOf("/") && !context.ownerDocument ) {
context = context.documentElement;
var r = [];
last = t;
+ // DEPRECATED
t = jQuery.trim(t).replace( /^\/\//, "" );
var foundToken = false;
if ( t.indexOf(" ") == 0 ) continue;
foundToken = true;
} else {
+ // (.. and /) DEPRECATED
re = /^((\/?\.\.)|([>\/+~]))\s*(\w*)/i;
if ( (m = re.exec(t)) != null ) {
if ( m == "+" ) break;
}
+ // DEPRECATED
} else
r.push( ret[j].parentNode );