11/*!
2- * jQuery JavaScript Library v2.0.1
2+ * jQuery JavaScript Library v2.0.2
33 * http://jquery.com/
44 *
55 * Includes Sizzle.js
99 * Released under the MIT license
1010 * http://jquery.org/license
1111 *
12- * Date: 2013-05-24T16:44Z
12+ * Date: 2013-05-30T21:25Z
1313 */
1414( function ( window , undefined ) {
1515
4646 // List of deleted data cache ids, so we can reuse them
4747 core_deletedIds = [ ] ,
4848
49- core_version = "2.0.1 " ,
49+ core_version = "2.0.2 " ,
5050
5151 // Save a reference to some core methods
5252 core_concat = core_deletedIds . concat ,
@@ -872,7 +872,7 @@ rootjQuery = jQuery(document);
872872 * Released under the MIT license
873873 * http://jquery.org/license
874874 *
875- * Date: 2013-05-15
875+ * Date: 2013-05-27
876876 */
877877( function ( window , undefined ) {
878878
@@ -1357,7 +1357,8 @@ support = Sizzle.support = {};
13571357 * @returns {Object } Returns the current document
13581358 */
13591359setDocument = Sizzle . setDocument = function ( node ) {
1360- var doc = node ? node . ownerDocument || node : preferredDoc ;
1360+ var doc = node ? node . ownerDocument || node : preferredDoc ,
1361+ parent = doc . parentWindow ;
13611362
13621363 // If no document and documentElement is available, return
13631364 if ( doc === document || doc . nodeType !== 9 || ! doc . documentElement ) {
@@ -1371,6 +1372,15 @@ setDocument = Sizzle.setDocument = function( node ) {
13711372 // Support tests
13721373 documentIsHTML = ! isXML ( doc ) ;
13731374
1375+ // Support: IE>8
1376+ // If iframe document is assigned to "document" variable and if iframe has been reloaded,
1377+ // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936
1378+ if ( parent && parent . frameElement ) {
1379+ parent . attachEvent ( "onbeforeunload" , function ( ) {
1380+ setDocument ( ) ;
1381+ } ) ;
1382+ }
1383+
13741384 /* Attributes
13751385 ---------------------------------------------------------------------- */
13761386
@@ -3698,7 +3708,6 @@ jQuery.extend({
36983708 startLength -- ;
36993709 }
37003710
3701- hooks . cur = fn ;
37023711 if ( fn ) {
37033712
37043713 // Add a progress sentinel to prevent the fx queue from being
@@ -5314,9 +5323,7 @@ jQuery.each({
53145323 return jQuery . sibling ( elem . firstChild ) ;
53155324 } ,
53165325 contents : function ( elem ) {
5317- return jQuery . nodeName ( elem , "iframe" ) ?
5318- elem . contentDocument || elem . contentWindow . document :
5319- jQuery . merge ( [ ] , elem . childNodes ) ;
5326+ return elem . contentDocument || jQuery . merge ( [ ] , elem . childNodes ) ;
53205327 }
53215328} , function ( name , fn ) {
53225329 jQuery . fn [ name ] = function ( until , selector ) {
@@ -7902,8 +7909,8 @@ var fxNow, timerId,
79027909
79037910 // Update tween properties
79047911 if ( parts ) {
7912+ start = tween . start = + start || + target || 0 ;
79057913 tween . unit = unit ;
7906- tween . start = + start || + target || 0 ;
79077914 // If a +=/-= token was provided, we're doing a relative animation
79087915 tween . end = parts [ 1 ] ?
79097916 start + ( parts [ 1 ] + 1 ) * parts [ 2 ] :
@@ -8348,9 +8355,7 @@ jQuery.fn.extend({
83488355 doAnimation = function ( ) {
83498356 // Operate on a copy of prop so per-property easing won't be lost
83508357 var anim = Animation ( this , jQuery . extend ( { } , prop ) , optall ) ;
8351- doAnimation . finish = function ( ) {
8352- anim . stop ( true ) ;
8353- } ;
8358+
83548359 // Empty animations, or finishing resolves immediately
83558360 if ( empty || data_priv . get ( this , "finish" ) ) {
83568361 anim . stop ( true ) ;
@@ -8430,8 +8435,8 @@ jQuery.fn.extend({
84308435 // empty the queue first
84318436 jQuery . queue ( this , type , [ ] ) ;
84328437
8433- if ( hooks && hooks . cur && hooks . cur . finish ) {
8434- hooks . cur . finish . call ( this ) ;
8438+ if ( hooks && hooks . stop ) {
8439+ hooks . stop . call ( this , true ) ;
84358440 }
84368441
84378442 // look for any active animations, and finish them
0 commit comments