jquery-cdn 2.2.3 → 2.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22b7194f66cbccf1da030debc11f2c29e31e4d08
4
- data.tar.gz: 68b04c8a72729eb943d7dda9e81e22494120d163
3
+ metadata.gz: 0c58192c10fcd4a3be953ecc7d4422c05e1a7d3d
4
+ data.tar.gz: bf982d7efab68ed790c95de8b25e8ea009830b4b
5
5
  SHA512:
6
- metadata.gz: 3101d8c474709226879c04d1cf1bb2b7805b1cec6f4f61dd01d2e77141ea62dd320226ebe4c8cd9ab4a8dc1daa78152f86185a84d903e4971f8d71356aa4e0b2
7
- data.tar.gz: 6fecaf00d57a6668bfa3a98fbaa2de7ee8d26cb4b34a9c200de0e44a0148cc6dcf7f8816639b5f1ccadbc69dd21dda820c3e76c347863057ff2dca7acbf7a9d7
6
+ metadata.gz: 79618d299cab7112ea865e0e1029dc0b57e1b8807640bfcbcf92b57b384a5948f9bfe71ab24cfdb5aeda41cb36caa87f734aa018b4302c88ee9adf27ae7dfa09
7
+ data.tar.gz: a2f996bc28acefc5f2b6f3f60dbc71e3b242b61bac6475e030de0a4e51228e8274646222d2e5f1c66f0f548d675d64962164672765fa185ecc136994248833f7
@@ -1,3 +1,3 @@
1
1
  module JqueryCdn
2
- VERSION = "2.2.3"
2
+ VERSION = "2.2.4"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery JavaScript Library v2.2.3
2
+ * jQuery JavaScript Library v2.2.4
3
3
  * http://jquery.com/
4
4
  *
5
5
  * Includes Sizzle.js
@@ -9,7 +9,7 @@
9
9
  * Released under the MIT license
10
10
  * http://jquery.org/license
11
11
  *
12
- * Date: 2016-04-05T19:26Z
12
+ * Date: 2016-05-20T17:23Z
13
13
  */
14
14
 
15
15
  (function( global, factory ) {
@@ -65,7 +65,7 @@ var support = {};
65
65
 
66
66
 
67
67
  var
68
- version = "2.2.3",
68
+ version = "2.2.4",
69
69
 
70
70
  // Define a local copy of jQuery
71
71
  jQuery = function( selector, context ) {
@@ -5006,13 +5006,14 @@ jQuery.Event.prototype = {
5006
5006
  isDefaultPrevented: returnFalse,
5007
5007
  isPropagationStopped: returnFalse,
5008
5008
  isImmediatePropagationStopped: returnFalse,
5009
+ isSimulated: false,
5009
5010
 
5010
5011
  preventDefault: function() {
5011
5012
  var e = this.originalEvent;
5012
5013
 
5013
5014
  this.isDefaultPrevented = returnTrue;
5014
5015
 
5015
- if ( e ) {
5016
+ if ( e && !this.isSimulated ) {
5016
5017
  e.preventDefault();
5017
5018
  }
5018
5019
  },
@@ -5021,7 +5022,7 @@ jQuery.Event.prototype = {
5021
5022
 
5022
5023
  this.isPropagationStopped = returnTrue;
5023
5024
 
5024
- if ( e ) {
5025
+ if ( e && !this.isSimulated ) {
5025
5026
  e.stopPropagation();
5026
5027
  }
5027
5028
  },
@@ -5030,7 +5031,7 @@ jQuery.Event.prototype = {
5030
5031
 
5031
5032
  this.isImmediatePropagationStopped = returnTrue;
5032
5033
 
5033
- if ( e ) {
5034
+ if ( e && !this.isSimulated ) {
5034
5035
  e.stopImmediatePropagation();
5035
5036
  }
5036
5037
 
@@ -5961,19 +5962,6 @@ function getWidthOrHeight( elem, name, extra ) {
5961
5962
  styles = getStyles( elem ),
5962
5963
  isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box";
5963
5964
 
5964
- // Support: IE11 only
5965
- // In IE 11 fullscreen elements inside of an iframe have
5966
- // 100x too small dimensions (gh-1764).
5967
- if ( document.msFullscreenElement && window.top !== window ) {
5968
-
5969
- // Support: IE11 only
5970
- // Running getBoundingClientRect on a disconnected node
5971
- // in IE throws an error.
5972
- if ( elem.getClientRects().length ) {
5973
- val = Math.round( elem.getBoundingClientRect()[ name ] * 100 );
5974
- }
5975
- }
5976
-
5977
5965
  // Some non-html elements return undefined for offsetWidth, so check for null/undefined
5978
5966
  // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285
5979
5967
  // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668
@@ -7864,6 +7852,7 @@ jQuery.extend( jQuery.event, {
7864
7852
  },
7865
7853
 
7866
7854
  // Piggyback on a donor event to simulate a different one
7855
+ // Used only for `focus(in | out)` events
7867
7856
  simulate: function( type, elem, event ) {
7868
7857
  var e = jQuery.extend(
7869
7858
  new jQuery.Event(),
@@ -7871,27 +7860,10 @@ jQuery.extend( jQuery.event, {
7871
7860
  {
7872
7861
  type: type,
7873
7862
  isSimulated: true
7874
-
7875
- // Previously, `originalEvent: {}` was set here, so stopPropagation call
7876
- // would not be triggered on donor event, since in our own
7877
- // jQuery.event.stopPropagation function we had a check for existence of
7878
- // originalEvent.stopPropagation method, so, consequently it would be a noop.
7879
- //
7880
- // But now, this "simulate" function is used only for events
7881
- // for which stopPropagation() is noop, so there is no need for that anymore.
7882
- //
7883
- // For the 1.x branch though, guard for "click" and "submit"
7884
- // events is still used, but was moved to jQuery.event.stopPropagation function
7885
- // because `originalEvent` should point to the original event for the constancy
7886
- // with other events and for more focused logic
7887
7863
  }
7888
7864
  );
7889
7865
 
7890
7866
  jQuery.event.trigger( e, null, elem );
7891
-
7892
- if ( e.isDefaultPrevented() ) {
7893
- event.preventDefault();
7894
- }
7895
7867
  }
7896
7868
 
7897
7869
  } );
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-cdn
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3
4
+ version: 2.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Sitnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-14 00:00:00.000000000 Z
11
+ date: 2016-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sprockets