Make WordPress Core

Changeset 24395


Ignore:
Timestamp:
06/01/2013 09:16:11 AM (13 years ago)
Author:
ocean90
Message:

Update to jQuery 1.10.1. fixes #24426.

Location:
trunk/wp-includes
Files:
2 edited

Legend:

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

    r24364 r24395  
    11/*!
    2  * jQuery JavaScript Library v1.10.0
     2 * jQuery JavaScript Library v1.10.1
    33 * http://jquery.com/
    44 *
     
    1010 * http://jquery.org/license
    1111 *
    12  * Date: 2013-05-24T18:39Z
     12 * Date: 2013-05-30T21:49Z
    1313 */
    1414(function( window, undefined ) {
     
    4747    core_deletedIds = [],
    4848
    49     core_version = "1.10.0",
     49    core_version = "1.10.1",
    5050
    5151    // Save a reference to some core methods
     
    10081008 * http://jquery.org/license
    10091009 *
    1010  * Date: 2013-05-15
     1010 * Date: 2013-05-27
    10111011 */
    10121012(function( window, undefined ) {
     
    14931493 */
    14941494setDocument = Sizzle.setDocument = function( node ) {
    1495     var doc = node ? node.ownerDocument || node : preferredDoc;
     1495    var doc = node ? node.ownerDocument || node : preferredDoc,
     1496        parent = doc.parentWindow;
    14961497
    14971498    // If no document and documentElement is available, return
     
    15061507    // Support tests
    15071508    documentIsHTML = !isXML( doc );
     1509
     1510    // Support: IE>8
     1511    // If iframe document is assigned to "document" variable and if iframe has been reloaded,
     1512    // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936
     1513    if ( parent && parent.frameElement ) {
     1514        parent.attachEvent( "onbeforeunload", function() {
     1515            setDocument();
     1516        });
     1517    }
    15081518
    15091519    /* Attributes
     
    39523962        }
    39533963
    3954         hooks.cur = fn;
    39553964        if ( fn ) {
    39563965
     
    88658874            // Update tween properties
    88668875            if ( parts ) {
     8876                start = tween.start = +start || +target || 0;
    88678877                tween.unit = unit;
    8868                 tween.start = +start || +target || 0;
    88698878                // If a +=/-= token was provided, we're doing a relative animation
    88708879                tween.end = parts[ 1 ] ?
     
    93139322                // Operate on a copy of prop so per-property easing won't be lost
    93149323                var anim = Animation( this, jQuery.extend( {}, prop ), optall );
    9315                 doAnimation.finish = function() {
    9316                     anim.stop( true );
    9317                 };
     9324
    93189325                // Empty animations, or finishing resolves immediately
    93199326                if ( empty || jQuery._data( this, "finish" ) ) {
     
    93959402            jQuery.queue( this, type, [] );
    93969403
    9397             if ( hooks && hooks.cur && hooks.cur.finish ) {
    9398                 hooks.cur.finish.call( this );
     9404            if ( hooks && hooks.stop ) {
     9405                hooks.stop.call( this, true );
    93999406            }
    94009407
     
    97769783
    97779784// })();
    9778 if ( typeof module === "object" && typeof module.exports === "object" ) {
     9785if ( typeof module === "object" && module && typeof module.exports === "object" ) {
    97799786    // Expose jQuery as module.exports in loaders that implement the Node
    97809787    // module pattern (including browserify). Do not create the global, since
  • trunk/wp-includes/script-loader.php

    r24388 r24395  
    133133
    134134    // jQuery
    135     $scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '1.10.0' );
    136     $scripts->add( 'jquery-core', '/wp-includes/js/jquery/jquery.js', array(), '1.10.0' );
     135    $scripts->add( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '1.10.1' );
     136    $scripts->add( 'jquery-core', '/wp-includes/js/jquery/jquery.js', array(), '1.10.1' );
    137137    $scripts->add( 'jquery-migrate', '/wp-includes/js/jquery/jquery-migrate.js', array(), '1.2.1' );
    138138
Note: See TracChangeset for help on using the changeset viewer.