Lines Matching +full:fetch +full:- +full:depth
14 * Date: Thu May 12 15:04:36 2011 -0400
41 quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
43 // Check if a string has a non-whitespace character in it
58 rvalidescape = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,
59 rvalidtokens = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
88 // [[Class]] -> type pairs
120 …if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.leng…
131 // HANDLE: $(html) -> $(array)
257 // Return the newly-formed element set
279 return i === -1 ?
289 return this.eq( -1 );
340 --i;
344 // Only deal with non-null/undefined values
351 // Prevent never-ending loop
413 if ( (wait === true && !--jQuery.readyWait) || (wait !== true && !jQuery.isReady) ) {
423 if ( wait !== true && --jQuery.readyWait > 0 ) {
568 // Cross-browser xml parsing
594 // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context
699 return -1;
744 …typeof length === "number" && ( ( length > 0 && elems[ 0 ] && elems[ length -1 ] ) || length === 0…
888 // IE doesn't match non-breaking spaces with \s
1080 while( i-- ) {
1109 if ( !( --count ) ) {
1122 --count;
1208 // Make sure that a selected-by-default option has a working selected property.
1297 // Check if natively block-level elements act like inline-block
1305 // Check if elements with layout shrink-wrap their children
1332 // Check if div with explicit width and no margin-right incorrectly
1333 // gets computed margin-right based on width of container. For more
1336 // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
1351 // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
1352 // We only care about the case where non-standard event systems
1353 // are used, namely in IE. Short-circuiting here helps us to
1382 rmultiDash = /([a-z])([A-Z])/g;
1391 // Non-digits removed to match rinlinejQuery
1399 "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
1416 // We have to handle DOM nodes and JS objects differently because IE6-7
1417 // can't GC object references properly across the DOM-JS boundary
1468 // cache in order to avoid key collisions between internal data and user-defined
1609 if ( name.indexOf( "data-" ) === 0 ) {
1632 // Try to fetch any internally stored data first
1662 // If nothing was found internally, try to fetch any
1663 // data from the HTML5 data-* attribute
1665 var name = "data-" + key.replace( rmultiDash, "$1-$2" ).toLowerCase();
1714 // Give room for hard-coded callbacks to fire first
1744 count = force ? 0 : ( (jQuery.data( elem, key, undefined, true) || 1 ) - 1 );
1825 // http://blindsignals.com/index.php/2009/07/jquery-delay/
1857 if ( !( --count ) ) {
1861 while( i-- ) {
2023 if ( (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) {
2101 one = elem.type === "select-one";
2124 // Multi-Selects return an array
2129 // Fixes Bug #2551 -- select.val() broken in IE after form.reset()
2145 elem.selectedIndex = -1;
2227 // Non-existent attributes return null, we normalize to undefined
2261 // Setting the type on a radio button after the value resets the value in IE6-9
2276 …// http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javas…
2453 // Safari mis-reports the default selected property of an option
2566 // This is to prevent a memory leak with non-native events in IE.
2581 if ( type.indexOf(".") > -1 ) {
2706 eventType.splice( j--, 1 );
2722 eventType.splice( j--, 1 );
2763 // Events that are safe to short-circuit if no handlers are attached.
2779 type = type.slice(0, -1);
2880 // Don't re-trigger an onFOO event when we call its FOO() method
2910 // Use the fix-ed Event rather than the (read-only) native event
2917 // Triggered event must 1) be non-exclusive and have no namespace, or
2952 // and "clone" to set read-only properties
2957 prop = this.props[ --i ];
2983 …event.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc && do…
2984 …event.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc && do…
2992 // Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs)
3102 // http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
3169 // handle event if we actually just moused on to a non sub-element
3246 } else if ( type === "select-multiple" ) {
3247 val = elem.selectedIndex > -1 ?
3250 }).join("-") :
3301 // Keydown will be called before keypress, which is used in submit-event delegation
3307 type === "select-multiple" ) {
3375 if ( --attaches === 0 ) {
3591 …// Make sure we avoid non-left-click bubbling in Firefox (#3861) and disabled elements in IE (#691…
3611 live.splice( j--, 1 );
3787 Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
3879 if ( results[i] === results[ i - 1 ] ) {
3880 results.splice( i--, 1 );
3912 if ( left.substr( left.length - 1 ) !== "\\" ) {
3951 if ( left.substr( left.length - 1 ) === "\\" ) {
4032 ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
4033 CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
4034 NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
4035 …ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-…
4036 TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,
4037 …CHILD: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d…
4038 POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,
4039 PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
4218 // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
4219 var test = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec(
4224 match[2] = (test[1] + (test[2] || 1)) - 0;
4225 match[3] = test[3] - 0;
4244 // Handle if an un-quoted value was used
4298 // Accessing this property makes selected-by-default
4379 return i === array.length - 1;
4391 return i < match[3] - 0;
4395 return i > match[3] - 0;
4399 return match[3] - 0 === i;
4403 return match[3] - 0 === i;
4484 var diff = elem.nodeIndex - last;
4505 .indexOf( match ) > -1;
4534 value.substr(value.length - check.length) === check :
4536 value === check || value.substr(0, check.length + 1) === check + "-" :
4553 return "\\" + (num - 0 + 1);
4615 return a.compareDocumentPosition ? -1 : 1;
4618 return a.compareDocumentPosition(b) & 4 ? -1 : 1;
4630 return a.sourceIndex - b.sourceIndex;
4646 return -1;
4678 siblingCheck( a, bp[i], -1 ) :
4691 return -1;
4824 // Only use querySelectorAll on non-XML documents
4825 // (ID selectors don't work in non-HTML documents)
4828 var match = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec( query );
4831 // Speed-up: Sizzle("TAG")
4835 // Speed-up: Sizzle(".CLASS")
4842 // Speed-up: Sizzle("body")
4847 // Speed-up: Sizzle("#ID")
4869 // qSA works strangely on Element-rooted queries
5080 // (such as loading iframes in IE - #4833)
5163 ret.splice(n--, 1);
5223 if ( match.jquery ? match.index( cur ) > -1 : jQuery( cur ).is( match ) ) {
5245 if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) {
5465 rcleanScript = /^\s*<!(?:\[CDATA\[|\-\-)/,
5606 // keepData is for internal use only--do not document
5770 for ( var i = 0, l = this.length, lastIndex = l - 1; i < l; i++ ) {
5837 // We do not need to do anything for non-Elements
5856 // IE6-8 fail to clone children inside object elements that use
5863 // IE6-8 fails to persist the checked state of a cloned checkbox
5864 // or radio button. Worse, IE6-7 fail to give the cloned element
5870 // IE6-7 get confused and end up setting the value of a cloned
5876 // IE6-8 fails to return the selected option to the default selected
5881 // IE6-8 fails to set the defaultValue to the correct value when
6054 // Fix "XHTML"-style tags in all browsers
6060 depth = wrap[0], variable
6066 // Move to the right depth
6067 while ( depth-- ) {
6084 for ( j = tbody.length - 1; j >= 0 ; --j ) {
6207 rdashAlpha = /-([a-z])/ig,
6209 rupper = /([A-Z]|^ms)/g,
6210 rnumpx = /^-?\d+(?:px)?$/i,
6211 rnum = /^-?\d/,
6212 rrelNum = /^[+\-]=/,
6213 rrelNumFilter = /[^+\-\.\de]+/g,
6228 // Setting 'undefined' is a no-op
6298 // convert relative number strings (+= or -=) to relative numbers. #7345
6318 // If a hook was provided get the non-computed value from there
6401 // temporary backwards-compat
6410 // temporary backwards-compat
6470 // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
6471 // Work around by temporarily setting element display to inline-block
6473 jQuery.swap( elem, { "display": "inline-block" }, function() {
6475 ret = curCSS( elem, "margin-right", "marginRight" );
6490 name = name.replace( rupper, "-$1" ).toLowerCase();
6515 // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
6553 val -= parseFloat(jQuery.css( elem, "padding" + this )) || 0;
6560 val -= parseFloat(jQuery.css( elem, "border" + this + "Width" )) || 0;
6590 rlocalProtocol = /^(?:about|app|app\-storage|.+\-extension|file|widget):$/,
6598 rurl = /^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,
6606 * - BEFORE asking for a transport
6607 * - AFTER param serialization (s.data is a string if s.processData is true)
6886 contentType: "application/x-www-form-urlencoded",
6920 // 1) key format is "source_type destination_type" (a single space in-between)
6944 // If url is an object, simulate pre-1.5 signature
6966 // Status-dependent callbacks
6980 // Cross-domain detection vars
7023 // Overrides response content-type header
7080 // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
7083 if ( ( lastModified = jqXHR.getResponseHeader( "Last-Modified" ) ) ) {
7112 // then normalize statusText and status for non-aborts
7133 // Status-dependent callbacks
7148 if ( !( --jQuery.active ) ) {
7160 // Status-dependent callbacks
7177 // Add protocol if not provided (#5866: IE7 issue with protocol-less urls)
7184 // Determine if a cross-domain request is in order
7229 // Get ifModifiedKey before adding the anti-cache parameter
7232 // Add anti-cache in url if needed
7246 jqXHR.setRequestHeader( "Content-Type", s.contentType );
7249 // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
7253 jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ ifModifiedKey ] );
7256 jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ ifModifiedKey ] );
7289 // If no transport, we auto-abort
7291 done( -1, "No Transport" );
7311 done( -1, e );
7366 // If array item is non-scalar (array or object), encode its
7396 // Last-Modified header cache for next request
7403 * - sets all responseXXX fields accordingly
7404 * - finds the right dataType (mediates between content-type and expected dataType)
7405 * - returns the corresponding response
7424 // Remove auto dataType and get content-type in the process
7428 ct = s.mimeType || jqXHR.getResponseHeader( "content-type" );
7432 // Check if we're dealing with a known content-type
7573 var inspectData = s.contentType === "application/x-www-form-urlencoded" &&
7609 // Clean-up function
7641 …script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
7810 // X-Requested-With header
7811 // For cross-domain requests, seeing as conditions for a preflight are
7813 // (it can always be set on a per-request basis or even using ajaxSetup)
7814 // For same-domain requests, won't change header if already provided.
7815 if ( !s.crossDomain && !headers["X-Requested-With"] ) {
7816 headers[ "X-Requested-With" ] = "XMLHttpRequest";
7842 …// http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_…
7878 // statusText for faulty cross-domain requests
7893 // IE - #1450: sometimes returns 1223 when it should be 204
7901 complete( -1, firefoxAccessException );
7948 rfxnum = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,
8071 // Do not change referenced properties as per-property easing will be lost
8122 // Set display property to inline-block for height/width
8128 this.style.display = "inline-block";
8133 // inline-level elements accept inline-block;
8134 // block-level elements need to be inline with layout
8136 this.style.display = "inline-block";
8173 // If a +=/-= token was provided, we're doing a relative animation
8175 end = ( (parts[ 1 ] === "-=" ? -1 : 1) * end ) + start;
8203 while ( i-- ) {
8294 return ((-Math.cos(p*Math.PI)/2) + 0.5) * diff + firstNum;
8449 n = t - this.startTime;
8454 this.now = this.start + ((this.end - this.start) * this.pos);
8468 timers.splice(i--, 1);
8536 // IE and Opera will allow us to reuse the iframeDoc without re-writing the fake html
8601 top = box.top + scrollTop - clientTop,
8602 left = box.left + scrollLeft - clientLeft;
8644 top -= elem.scrollTop;
8645 left -= elem.scrollLeft;
8708 this.subtractsBorderForOverflowNotVisible = (checkDiv.offsetTop === -5);
8733 // set position first, in-case top/left are set even on static elem
8742 …on === "absolute" || position === "fixed") && jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1,
8760 props.top = (options.top - curOffset.top) + curTop;
8763 props.left = (options.left - curOffset.left) + curLeft;
8793 offset.top -= parseFloat( jQuery.css(elem, "marginTop") ) || 0;
8794 offset.left -= parseFloat( jQuery.css(elem, "marginLeft") ) || 0;
8802 top: offset.top - parentOffset.top,
8803 left: offset.left - parentOffset.left