1
1
/*!
2
- * jQuery JavaScript Library v1.10.0
2
+ * jQuery JavaScript Library v1.10.1
3
3
* http://jquery.com/
4
4
*
5
5
* Includes Sizzle.js
9
9
* Released under the MIT license
10
10
* http://jquery.org/license
11
11
*
12
- * Date: 2013-05-24T18:39Z
12
+ * Date: 2013-05-30T21:49Z
13
13
*/
14
14
( function ( window , undefined ) {
15
15
46
46
// List of deleted data cache ids, so we can reuse them
47
47
core_deletedIds = [ ] ,
48
48
49
- core_version = "1.10.0 " ,
49
+ core_version = "1.10.1 " ,
50
50
51
51
// Save a reference to some core methods
52
52
core_concat = core_deletedIds . concat ,
@@ -1007,7 +1007,7 @@ rootjQuery = jQuery(document);
1007
1007
* Released under the MIT license
1008
1008
* http://jquery.org/license
1009
1009
*
1010
- * Date: 2013-05-15
1010
+ * Date: 2013-05-27
1011
1011
*/
1012
1012
( function ( window , undefined ) {
1013
1013
@@ -1492,7 +1492,8 @@ support = Sizzle.support = {};
1492
1492
* @returns {Object } Returns the current document
1493
1493
*/
1494
1494
setDocument = Sizzle . setDocument = function ( node ) {
1495
- var doc = node ? node . ownerDocument || node : preferredDoc ;
1495
+ var doc = node ? node . ownerDocument || node : preferredDoc ,
1496
+ parent = doc . parentWindow ;
1496
1497
1497
1498
// If no document and documentElement is available, return
1498
1499
if ( doc === document || doc . nodeType !== 9 || ! doc . documentElement ) {
@@ -1506,6 +1507,15 @@ setDocument = Sizzle.setDocument = function( node ) {
1506
1507
// Support tests
1507
1508
documentIsHTML = ! isXML ( doc ) ;
1508
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
+ }
1518
+
1509
1519
/* Attributes
1510
1520
---------------------------------------------------------------------- */
1511
1521
@@ -3951,7 +3961,6 @@ jQuery.extend({
3951
3961
startLength -- ;
3952
3962
}
3953
3963
3954
- hooks . cur = fn ;
3955
3964
if ( fn ) {
3956
3965
3957
3966
// Add a progress sentinel to prevent the fx queue from being
@@ -8864,8 +8873,8 @@ var fxNow, timerId,
8864
8873
8865
8874
// Update tween properties
8866
8875
if ( parts ) {
8876
+ start = tween . start = + start || + target || 0 ;
8867
8877
tween . unit = unit ;
8868
- tween . start = + start || + target || 0 ;
8869
8878
// If a +=/-= token was provided, we're doing a relative animation
8870
8879
tween . end = parts [ 1 ] ?
8871
8880
start + ( parts [ 1 ] + 1 ) * parts [ 2 ] :
@@ -9312,9 +9321,7 @@ jQuery.fn.extend({
9312
9321
doAnimation = function ( ) {
9313
9322
// Operate on a copy of prop so per-property easing won't be lost
9314
9323
var anim = Animation ( this , jQuery . extend ( { } , prop ) , optall ) ;
9315
- doAnimation . finish = function ( ) {
9316
- anim . stop ( true ) ;
9317
- } ;
9324
+
9318
9325
// Empty animations, or finishing resolves immediately
9319
9326
if ( empty || jQuery . _data ( this , "finish" ) ) {
9320
9327
anim . stop ( true ) ;
@@ -9394,8 +9401,8 @@ jQuery.fn.extend({
9394
9401
// empty the queue first
9395
9402
jQuery . queue ( this , type , [ ] ) ;
9396
9403
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 ) ;
9399
9406
}
9400
9407
9401
9408
// look for any active animations, and finish them
@@ -9775,7 +9782,7 @@ jQuery.fn.size = function() {
9775
9782
jQuery . fn . andSelf = jQuery . fn . addBack ;
9776
9783
9777
9784
// })();
9778
- if ( typeof module === "object" && typeof module . exports === "object" ) {
9785
+ if ( typeof module === "object" && module && typeof module . exports === "object" ) {
9779
9786
// Expose jQuery as module.exports in loaders that implement the Node
9780
9787
// module pattern (including browserify). Do not create the global, since
9781
9788
// the user will be storing it themselves locally, and globals are frowned
@@ -9797,4 +9804,4 @@ if ( typeof module === "object" && typeof module.exports === "object" ) {
9797
9804
}
9798
9805
}
9799
9806
9800
- } ) ( window ) ;
9807
+ } ) ( window ) ;
0 commit comments