Changeset 16186
- Timestamp:
- 11/04/2010 05:56:13 PM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/jquery/jquery.js
r15991 r16186 1 1 /*! 2 * jQuery JavaScript Library v Pulled Live From Git2 * jQuery JavaScript Library v1.4.4rc2 3 3 * http://jquery.com/ 4 4 * … … 12 12 * Released under the MIT, BSD, and GPL Licenses. 13 13 * 14 * Date: Wed Oct 27 00:55:02 201014 * Date: Wed Nov 3 15:46:31 2010 -0400 15 15 */ 16 16 (function( window, undefined ) { … … 212 212 213 213 // The current version of jQuery being used 214 jquery: " Pulled Live From Git",214 jquery: "1.4.4rc2", 215 215 216 216 // The default length of a jQuery object is 0 … … 3916 3916 if ( document.querySelectorAll ) { 3917 3917 (function(){ 3918 var oldSizzle = Sizzle, div = document.createElement("div") ;3918 var oldSizzle = Sizzle, div = document.createElement("div"), id = "__sizzle__"; 3919 3919 div.innerHTML = "<p class='TEST'></p>"; 3920 3920 … … 3941 3941 // IE 8 doesn't work on object elements 3942 3942 } else if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { 3943 var old = context.getAttribute( "id" ), id = context.id = "__sizzle__"; 3943 var old = context.getAttribute( "id" ), nid = old || id; 3944 3945 if ( !old ) { 3946 context.setAttribute( "id", nid ); 3947 } 3944 3948 3945 3949 try { 3946 return makeArray( context.querySelectorAll( "#" + id + " " + query ), extra );3950 return makeArray( context.querySelectorAll( "#" + nid + " " + query ), extra ); 3947 3951 3948 3952 } catch(pseudoError) { 3949 3953 } finally { 3950 if ( old ) { 3951 context.id = old; 3952 3953 } else { 3954 if ( !old ) { 3954 3955 context.removeAttribute( "id" ); 3955 3956 } … … 5056 5057 curCSS, 5057 5058 5058 // cache check for defaultView.getComputedStyle5059 getComputedStyle = document.defaultView && document.defaultView.getComputedStyle,5059 getComputedStyle, 5060 currentStyle, 5060 5061 5061 5062 fcamelCase = function( all, letter ) { … … 5216 5217 val = curCSS( elem, name, name ); 5217 5218 5219 if ( val === "0px" && currentStyle ) { 5220 val = currentStyle( elem, name, name ); 5221 } 5222 5218 5223 if ( val != null ) { 5219 return val === "auto" ? "" : val;5224 return val; 5220 5225 } 5221 5226 } 5222 5227 5223 5228 if ( val < 0 || val == null ) { 5224 return elem.style[ name ]; 5229 val = elem.style[ name ]; 5230 return val === "" ? "auto" : val; 5225 5231 } 5226 5232 … … 5274 5280 } 5275 5281 5276 if ( getComputedStyle ) {5277 curCSS= function( elem, newName, name ) {5282 if ( document.defaultView && document.defaultView.getComputedStyle ) { 5283 getComputedStyle = function( elem, newName, name ) { 5278 5284 var ret, defaultView, computedStyle; 5279 5285 … … 5291 5297 } 5292 5298 5293 return ret ;5299 return ret === "" ? "auto" : ret; 5294 5300 }; 5295 5296 } else if ( document.documentElement.currentStyle ) { 5297 curCSS = function( elem, name ) { 5301 } 5302 5303 if ( document.documentElement.currentStyle ) { 5304 currentStyle = function( elem, name ) { 5298 5305 var left, rsLeft, ret = elem.currentStyle && elem.currentStyle[ name ], style = elem.style; 5299 5306 … … 5318 5325 } 5319 5326 5320 return ret ;5327 return ret === "" ? "auto" : ret; 5321 5328 }; 5322 5329 } 5330 5331 curCSS = getComputedStyle || currentStyle; 5323 5332 5324 5333 function getWH( elem, name, extra ) { … … 6106 6115 // being hidden by cascaded rules or not 6107 6116 if ( !jQuery.data(elem, "olddisplay") && display === "none" ) { 6108 elem.style.display = "";6117 display = elem.style.display = ""; 6109 6118 } 6110 6119 … … 6190 6199 6191 6200 return this[ optall.queue === false ? "each" : "queue" ](function() { 6192 // XXX ‘this’does not always have a nodeName when running the6201 // XXX 'this' does not always have a nodeName when running the 6193 6202 // test suite 6194 6203 -
trunk/wp-includes/script-loader.php
r16174 r16186 118 118 $scripts->add( 'cropper', '/wp-includes/js/crop/cropper.js', array('scriptaculous-dragdrop'), '20070118'); 119 119 120 $scripts->add( 'jquery', '/wp-includes/js/jquery/jquery.js', false, '1.4. 3');120 $scripts->add( 'jquery', '/wp-includes/js/jquery/jquery.js', false, '1.4.4rc2'); 121 121 122 122 $scripts->add( 'jquery-ui-core', '/wp-includes/js/jquery/ui.core.js', array('jquery'), '1.8.6' );
Note: See TracChangeset
for help on using the changeset viewer.