Make WordPress Core

Changeset 16186


Ignore:
Timestamp:
11/04/2010 05:56:13 PM (13 years ago)
Author:
ryan
Message:

jQuery 1.4.4rc2. see #15227

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/jquery/jquery.js

    r15991 r16186  
    11/*!
    2  * jQuery JavaScript Library vPulled Live From Git
     2 * jQuery JavaScript Library v1.4.4rc2
    33 * http://jquery.com/
    44 *
     
    1212 * Released under the MIT, BSD, and GPL Licenses.
    1313 *
    14  * Date: Wed Oct 27 00:55:02 2010
     14 * Date: Wed Nov 3 15:46:31 2010 -0400
    1515 */
    1616(function( window, undefined ) {
     
    212212
    213213    // The current version of jQuery being used
    214     jquery: "Pulled Live From Git",
     214    jquery: "1.4.4rc2",
    215215
    216216    // The default length of a jQuery object is 0
     
    39163916if ( document.querySelectorAll ) {
    39173917    (function(){
    3918         var oldSizzle = Sizzle, div = document.createElement("div");
     3918        var oldSizzle = Sizzle, div = document.createElement("div"), id = "__sizzle__";
    39193919        div.innerHTML = "<p class='TEST'></p>";
    39203920
     
    39413941                // IE 8 doesn't work on object elements
    39423942                } 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                    }
    39443948
    39453949                    try {
    3946                         return makeArray( context.querySelectorAll( "#" + id + " " + query ), extra );
     3950                        return makeArray( context.querySelectorAll( "#" + nid + " " + query ), extra );
    39473951
    39483952                    } catch(pseudoError) {
    39493953                    } finally {
    3950                         if ( old ) {
    3951                             context.id = old;
    3952 
    3953                         } else {
     3954                        if ( !old ) {
    39543955                            context.removeAttribute( "id" );
    39553956                        }
     
    50565057    curCSS,
    50575058
    5058     // cache check for defaultView.getComputedStyle
    5059     getComputedStyle = document.defaultView && document.defaultView.getComputedStyle,
     5059    getComputedStyle,
     5060    currentStyle,
    50605061
    50615062    fcamelCase = function( all, letter ) {
     
    52165217                    val = curCSS( elem, name, name );
    52175218
     5219                    if ( val === "0px" && currentStyle ) {
     5220                        val = currentStyle( elem, name, name );
     5221                    }
     5222
    52185223                    if ( val != null ) {
    5219                         return val === "auto" ? "" : val;
     5224                        return val;
    52205225                    }
    52215226                }
    52225227
    52235228                if ( val < 0 || val == null ) {
    5224                     return elem.style[ name ];
     5229                    val = elem.style[ name ];
     5230                    return val === "" ? "auto" : val;
    52255231                }
    52265232
     
    52745280}
    52755281
    5276 if ( getComputedStyle ) {
    5277     curCSS = function( elem, newName, name ) {
     5282if ( document.defaultView && document.defaultView.getComputedStyle ) {
     5283    getComputedStyle = function( elem, newName, name ) {
    52785284        var ret, defaultView, computedStyle;
    52795285
     
    52915297        }
    52925298
    5293         return ret;
     5299        return ret === "" ? "auto" : ret;
    52945300    };
    5295 
    5296 } else if ( document.documentElement.currentStyle ) {
    5297     curCSS = function( elem, name ) {
     5301}
     5302
     5303if ( document.documentElement.currentStyle ) {
     5304    currentStyle = function( elem, name ) {
    52985305        var left, rsLeft, ret = elem.currentStyle && elem.currentStyle[ name ], style = elem.style;
    52995306
     
    53185325        }
    53195326
    5320         return ret;
     5327        return ret === "" ? "auto" : ret;
    53215328    };
    53225329}
     5330
     5331curCSS = getComputedStyle || currentStyle;
    53235332
    53245333function getWH( elem, name, extra ) {
     
    61066115                // being hidden by cascaded rules or not
    61076116                if ( !jQuery.data(elem, "olddisplay") && display === "none" ) {
    6108                     elem.style.display = "";
     6117                    display = elem.style.display = "";
    61096118                }
    61106119
     
    61906199
    61916200        return this[ optall.queue === false ? "each" : "queue" ](function() {
    6192             // XXX ‘this’ does not always have a nodeName when running the
     6201            // XXX 'this' does not always have a nodeName when running the
    61936202            // test suite
    61946203
  • trunk/wp-includes/script-loader.php

    r16174 r16186  
    118118    $scripts->add( 'cropper', '/wp-includes/js/crop/cropper.js', array('scriptaculous-dragdrop'), '20070118');
    119119
    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');
    121121
    122122    $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.