<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[16186] trunk/wp-includes: jQuery 1.4.4rc2.</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/16186">16186</a></dd>
<dt>Author</dt> <dd>ryan</dd>
<dt>Date</dt> <dd>2010-11-04 17:56:13 +0000 (Thu, 04 Nov 2010)</dd>
</dl>
<h3>Log Message</h3>
<pre>jQuery 1.4.4rc2. see <a href="http://trac.wordpress.org/ticket/15227">#15227</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesjsjqueryjqueryjs">trunk/wp-includes/js/jquery/jquery.js</a></li>
<li><a href="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludesjsjqueryjqueryjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/jquery.js (16185 => 16186)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/jquery.js        2010-11-04 17:21:25 UTC (rev 16185)
+++ trunk/wp-includes/js/jquery/jquery.js        2010-11-04 17:56:13 UTC (rev 16186)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx"> /*!
</span><del>- * jQuery JavaScript Library vPulled Live From Git
</del><ins>+ * jQuery JavaScript Library v1.4.4rc2
</ins><span class="cx"> * http://jquery.com/
</span><span class="cx"> *
</span><span class="cx"> * Copyright 2010, John Resig
</span><span class="lines">@@ -11,7 +11,7 @@
</span><span class="cx"> * Copyright 2010, The Dojo Foundation
</span><span class="cx"> * Released under the MIT, BSD, and GPL Licenses.
</span><span class="cx"> *
</span><del>- * Date: Wed Oct 27 00:55:02 2010
</del><ins>+ * Date: Wed Nov 3 15:46:31 2010 -0400
</ins><span class="cx"> */
</span><span class="cx"> (function( window, undefined ) {
</span><span class="cx">
</span><span class="lines">@@ -211,7 +211,7 @@
</span><span class="cx">         selector: "",
</span><span class="cx">
</span><span class="cx">         // The current version of jQuery being used
</span><del>-        jquery: "Pulled Live From Git",
</del><ins>+        jquery: "1.4.4rc2",
</ins><span class="cx">
</span><span class="cx">         // The default length of a jQuery object is 0
</span><span class="cx">         length: 0,
</span><span class="lines">@@ -3915,7 +3915,7 @@
</span><span class="cx">
</span><span class="cx"> if ( document.querySelectorAll ) {
</span><span class="cx">         (function(){
</span><del>-                var oldSizzle = Sizzle, div = document.createElement("div");
</del><ins>+                var oldSizzle = Sizzle, div = document.createElement("div"), id = "__sizzle__";
</ins><span class="cx">                 div.innerHTML = "<p class='TEST'></p>";
</span><span class="cx">
</span><span class="cx">                 // Safari can't handle uppercase or unicode characters when
</span><span class="lines">@@ -3940,17 +3940,18 @@
</span><span class="cx">                                 // and working up from there (Thanks to Andrew Dupont for the technique)
</span><span class="cx">                                 // IE 8 doesn't work on object elements
</span><span class="cx">                                 } else if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) {
</span><del>-                                        var old = context.getAttribute( "id" ), id = context.id = "__sizzle__";
</del><ins>+                                        var old = context.getAttribute( "id" ), nid = old || id;
</ins><span class="cx">
</span><ins>+                                        if ( !old ) {
+                                                context.setAttribute( "id", nid );
+                                        }
+
</ins><span class="cx">                                         try {
</span><del>-                                                return makeArray( context.querySelectorAll( "#" + id + " " + query ), extra );
</del><ins>+                                                return makeArray( context.querySelectorAll( "#" + nid + " " + query ), extra );
</ins><span class="cx">
</span><span class="cx">                                         } catch(pseudoError) {
</span><span class="cx">                                         } finally {
</span><del>-                                                if ( old ) {
-                                                        context.id = old;
-
-                                                } else {
</del><ins>+                                                if ( !old ) {
</ins><span class="cx">                                                         context.removeAttribute( "id" );
</span><span class="cx">                                                 }
</span><span class="cx">                                         }
</span><span class="lines">@@ -5055,8 +5056,8 @@
</span><span class="cx">         cssHeight = [ "Top", "Bottom" ],
</span><span class="cx">         curCSS,
</span><span class="cx">
</span><del>-        // cache check for defaultView.getComputedStyle
-        getComputedStyle = document.defaultView && document.defaultView.getComputedStyle,
</del><ins>+        getComputedStyle,
+        currentStyle,
</ins><span class="cx">
</span><span class="cx">         fcamelCase = function( all, letter ) {
</span><span class="cx">                 return letter.toUpperCase();
</span><span class="lines">@@ -5215,13 +5216,18 @@
</span><span class="cx">                                 if ( val <= 0 ) {
</span><span class="cx">                                         val = curCSS( elem, name, name );
</span><span class="cx">
</span><ins>+                                        if ( val === "0px" && currentStyle ) {
+                                                val = currentStyle( elem, name, name );
+                                        }
+
</ins><span class="cx">                                         if ( val != null ) {
</span><del>-                                                return val === "auto" ? "" : val;
</del><ins>+                                                return val;
</ins><span class="cx">                                         }
</span><span class="cx">                                 }
</span><span class="cx">
</span><span class="cx">                                 if ( val < 0 || val == null ) {
</span><del>-                                        return elem.style[ name ];
</del><ins>+                                        val = elem.style[ name ];
+                                        return val === "" ? "auto" : val;
</ins><span class="cx">                                 }
</span><span class="cx">
</span><span class="cx">                                 return typeof val === "string" ? val : val + "px";
</span><span class="lines">@@ -5273,8 +5279,8 @@
</span><span class="cx">         };
</span><span class="cx"> }
</span><span class="cx">
</span><del>-if ( getComputedStyle ) {
-        curCSS = function( elem, newName, name ) {
</del><ins>+if ( document.defaultView && document.defaultView.getComputedStyle ) {
+        getComputedStyle = function( elem, newName, name ) {
</ins><span class="cx">                 var ret, defaultView, computedStyle;
</span><span class="cx">
</span><span class="cx">                 name = name.replace( rupper, "-$1" ).toLowerCase();
</span><span class="lines">@@ -5290,11 +5296,12 @@
</span><span class="cx">                         }
</span><span class="cx">                 }
</span><span class="cx">
</span><del>-                return ret;
</del><ins>+                return ret === "" ? "auto" : ret;
</ins><span class="cx">         };
</span><ins>+}
</ins><span class="cx">
</span><del>-} else if ( document.documentElement.currentStyle ) {
-        curCSS = function( elem, name ) {
</del><ins>+if ( document.documentElement.currentStyle ) {
+        currentStyle = function( elem, name ) {
</ins><span class="cx">                 var left, rsLeft, ret = elem.currentStyle && elem.currentStyle[ name ], style = elem.style;
</span><span class="cx">
</span><span class="cx">                 // From the awesome hack by Dean Edwards
</span><span class="lines">@@ -5317,10 +5324,12 @@
</span><span class="cx">                         elem.runtimeStyle.left = rsLeft;
</span><span class="cx">                 }
</span><span class="cx">
</span><del>-                return ret;
</del><ins>+                return ret === "" ? "auto" : ret;
</ins><span class="cx">         };
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+curCSS = getComputedStyle || currentStyle;
+
</ins><span class="cx"> function getWH( elem, name, extra ) {
</span><span class="cx">         var which = name === "width" ? cssWidth : cssHeight,
</span><span class="cx">                 val = name === "width" ? elem.offsetWidth : elem.offsetHeight;
</span><span class="lines">@@ -6105,7 +6114,7 @@
</span><span class="cx">                                 // Reset the inline display of this element to learn if it is
</span><span class="cx">                                 // being hidden by cascaded rules or not
</span><span class="cx">                                 if ( !jQuery.data(elem, "olddisplay") && display === "none" ) {
</span><del>-                                        elem.style.display = "";
</del><ins>+                                        display = elem.style.display = "";
</ins><span class="cx">                                 }
</span><span class="cx">
</span><span class="cx">                                 // Set elements which have been overridden with display: none
</span><span class="lines">@@ -6189,7 +6198,7 @@
</span><span class="cx">                 }
</span><span class="cx">
</span><span class="cx">                 return this[ optall.queue === false ? "each" : "queue" ](function() {
</span><del>-                        // XXX ‘this’ does not always have a nodeName when running the
</del><ins>+                        // XXX 'this' does not always have a nodeName when running the
</ins><span class="cx">                         // test suite
</span><span class="cx">
</span><span class="cx">                         var opt = jQuery.extend({}, optall), p,
</span></span></pre></div>
<a id="trunkwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/script-loader.php (16185 => 16186)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2010-11-04 17:21:25 UTC (rev 16185)
+++ trunk/wp-includes/script-loader.php        2010-11-04 17:56:13 UTC (rev 16186)
</span><span class="lines">@@ -117,7 +117,7 @@
</span><span class="cx">         // not used in core, replaced by Jcrop.js
</span><span class="cx">         $scripts->add( 'cropper', '/wp-includes/js/crop/cropper.js', array('scriptaculous-dragdrop'), '20070118');
</span><span class="cx">
</span><del>-        $scripts->add( 'jquery', '/wp-includes/js/jquery/jquery.js', false, '1.4.3');
</del><ins>+        $scripts->add( 'jquery', '/wp-includes/js/jquery/jquery.js', false, '1.4.4rc2');
</ins><span class="cx">
</span><span class="cx">         $scripts->add( 'jquery-ui-core', '/wp-includes/js/jquery/ui.core.js', array('jquery'), '1.8.6' );
</span><span class="cx">         $scripts->add_data( 'jquery-ui-core', 'group', 1 );
</span></span></pre>
</div>
</div>
</body>
</html>