jquery-cdn 1.12.0 → 1.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a0ef85da8d056dc014d677ce7f65165b9445df2
4
- data.tar.gz: 156ecfbcc684ed17ee995452b4acc7895c15d71b
3
+ metadata.gz: c49a42fe140fd9a257a7f77c63e4b84ef7c3cb2d
4
+ data.tar.gz: b171d2ea9971d4dae888a61034a9a2f52285b3ee
5
5
  SHA512:
6
- metadata.gz: d8072231142c170681b0ee0ea3e1236bc4ea568cd18b0fe34c784ea7e5e7de6fc285e2e3ddae4b7386482accf9bca1618efbd1a7d0b273765fc95f3281ddabc6
7
- data.tar.gz: ba1bf1ae8ba05268c5f416e151e003b84b818775a8a0fcaa22be794b13d05de76c095a7731013298bc6797a5d79659f7e8e4defcdbe52fdc9be62742c120ec31
6
+ metadata.gz: 5f88891b7f3994d4731c84434317f5a6e5dd596bf00bab1b7bf49748f625143b3146ff2bb36501dffd055fd3238848cd15de5e02e808e8f58a106895618009b5
7
+ data.tar.gz: 2423ce2cf5849b29d3fd6129d7da063c5f4c6206b9d0f406803e4591f424bb8d33649896afae07675262a9c9160ae2c5a37499d3204b61fadf13f128ca1daf23
@@ -1,3 +1,3 @@
1
1
  module JqueryCdn
2
- VERSION = "1.12.0"
2
+ VERSION = "1.12.2"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery JavaScript Library v1.12.0
2
+ * jQuery JavaScript Library v1.12.2
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-01-08T19:56Z
12
+ * Date: 2016-03-17T17:44Z
13
13
  */
14
14
 
15
15
  (function( global, factory ) {
@@ -65,7 +65,7 @@ var support = {};
65
65
 
66
66
 
67
67
  var
68
- version = "1.12.0",
68
+ version = "1.12.2",
69
69
 
70
70
  // Define a local copy of jQuery
71
71
  jQuery = function( selector, context ) {
@@ -3625,11 +3625,10 @@ jQuery.ready.promise = function( obj ) {
3625
3625
 
3626
3626
  // Catch cases where $(document).ready() is called
3627
3627
  // after the browser event has already occurred.
3628
- // we once tried to use readyState "interactive" here,
3629
- // but it caused issues like the one
3630
- // discovered by ChrisS here:
3631
- // http://bugs.jquery.com/ticket/12282#comment:15
3632
- if ( document.readyState === "complete" ) {
3628
+ // Support: IE6-10
3629
+ // Older IE sometimes signals "interactive" too soon
3630
+ if ( document.readyState === "complete" ||
3631
+ ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) {
3633
3632
 
3634
3633
  // Handle it asynchronously to allow scripts the opportunity to delay ready
3635
3634
  window.setTimeout( jQuery.ready );
@@ -6701,7 +6700,7 @@ if ( window.getComputedStyle ) {
6701
6700
  // FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
6702
6701
  var view = elem.ownerDocument.defaultView;
6703
6702
 
6704
- if ( !view.opener ) {
6703
+ if ( !view || !view.opener ) {
6705
6704
  view = window;
6706
6705
  }
6707
6706
 
@@ -6717,11 +6716,14 @@ if ( window.getComputedStyle ) {
6717
6716
  // getPropertyValue is only needed for .css('filter') in IE9, see #12537
6718
6717
  ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined;
6719
6718
 
6720
- if ( computed ) {
6719
+ // Support: Opera 12.1x only
6720
+ // Fall back to style even without computed
6721
+ // computed is undefined for elems on document fragments
6722
+ if ( ( ret === "" || ret === undefined ) && !jQuery.contains( elem.ownerDocument, elem ) ) {
6723
+ ret = jQuery.style( elem, name );
6724
+ }
6721
6725
 
6722
- if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) {
6723
- ret = jQuery.style( elem, name );
6724
- }
6726
+ if ( computed ) {
6725
6727
 
6726
6728
  // A tribute to the "awesome hack by Dean Edwards"
6727
6729
  // Chrome < 17 and Safari 5.0 uses "computed value"
@@ -8196,7 +8198,8 @@ jQuery.fn.delay = function( time, type ) {
8196
8198
  } )();
8197
8199
 
8198
8200
 
8199
- var rreturn = /\r/g;
8201
+ var rreturn = /\r/g,
8202
+ rspaces = /[\x20\t\r\n\f]+/g;
8200
8203
 
8201
8204
  jQuery.fn.extend( {
8202
8205
  val: function( value ) {
@@ -8276,7 +8279,9 @@ jQuery.extend( {
8276
8279
 
8277
8280
  // Support: IE10-11+
8278
8281
  // option.text throws exceptions (#14686, #14858)
8279
- jQuery.trim( jQuery.text( elem ) );
8282
+ // Strip and collapse whitespace
8283
+ // https://html.spec.whatwg.org/#strip-and-collapse-whitespace
8284
+ jQuery.trim( jQuery.text( elem ) ).replace( rspaces, " " );
8280
8285
  }
8281
8286
  },
8282
8287
  select: {
@@ -8330,7 +8335,7 @@ jQuery.extend( {
8330
8335
  while ( i-- ) {
8331
8336
  option = options[ i ];
8332
8337
 
8333
- if ( jQuery.inArray( jQuery.valHooks.option.get( option ), values ) >= 0 ) {
8338
+ if ( jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 ) {
8334
8339
 
8335
8340
  // Support: IE6
8336
8341
  // When new option element is added to select box we need to
@@ -8749,8 +8754,11 @@ if ( !support.hrefNormalized ) {
8749
8754
  }
8750
8755
 
8751
8756
  // Support: Safari, IE9+
8752
- // mis-reports the default selected property of an option
8753
- // Accessing the parent's selectedIndex property fixes it
8757
+ // Accessing the selectedIndex property
8758
+ // forces the browser to respect setting selected
8759
+ // on the option
8760
+ // The getter ensures a default option is selected
8761
+ // when in an optgroup
8754
8762
  if ( !support.optSelected ) {
8755
8763
  jQuery.propHooks.selected = {
8756
8764
  get: function( elem ) {
@@ -8765,6 +8773,16 @@ if ( !support.optSelected ) {
8765
8773
  }
8766
8774
  }
8767
8775
  return null;
8776
+ },
8777
+ set: function( elem ) {
8778
+ var parent = elem.parentNode;
8779
+ if ( parent ) {
8780
+ parent.selectedIndex;
8781
+
8782
+ if ( parent.parentNode ) {
8783
+ parent.parentNode.selectedIndex;
8784
+ }
8785
+ }
8768
8786
  }
8769
8787
  };
8770
8788
  }
@@ -10540,21 +10558,6 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
10540
10558
 
10541
10559
 
10542
10560
 
10543
- // Support: Safari 8+
10544
- // In Safari 8 documents created via document.implementation.createHTMLDocument
10545
- // collapse sibling forms: the second one becomes a child of the first one.
10546
- // Because of that, this security measure has to be disabled in Safari 8.
10547
- // https://bugs.webkit.org/show_bug.cgi?id=137337
10548
- support.createHTMLDocument = ( function() {
10549
- if ( !document.implementation.createHTMLDocument ) {
10550
- return false;
10551
- }
10552
- var doc = document.implementation.createHTMLDocument( "" );
10553
- doc.body.innerHTML = "<form></form><form></form>";
10554
- return doc.body.childNodes.length === 2;
10555
- } )();
10556
-
10557
-
10558
10561
  // data: string of html
10559
10562
  // context (optional): If specified, the fragment will be created in this context,
10560
10563
  // defaults to document
@@ -10567,12 +10570,7 @@ jQuery.parseHTML = function( data, context, keepScripts ) {
10567
10570
  keepScripts = context;
10568
10571
  context = false;
10569
10572
  }
10570
-
10571
- // document.implementation stops scripts or inline event handlers from
10572
- // being executed immediately
10573
- context = context || ( support.createHTMLDocument ?
10574
- document.implementation.createHTMLDocument( "" ) :
10575
- document );
10573
+ context = context || document;
10576
10574
 
10577
10575
  var parsed = rsingleTag.exec( data ),
10578
10576
  scripts = !keepScripts && [];
@@ -10818,11 +10816,8 @@ jQuery.fn.extend( {
10818
10816
  }
10819
10817
 
10820
10818
  // Add offsetParent borders
10821
- // Subtract offsetParent scroll positions
10822
- parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true ) -
10823
- offsetParent.scrollTop();
10824
- parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true ) -
10825
- offsetParent.scrollLeft();
10819
+ parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true );
10820
+ parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true );
10826
10821
  }
10827
10822
 
10828
10823
  // Subtract parent offsets and element margins
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: 1.12.0
4
+ version: 1.12.2
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-01-13 00:00:00.000000000 Z
11
+ date: 2016-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sprockets