jquery-matchheight-rails 0.7.0.1 → 0.7.1

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: 0e81bbbd4e79831a9f1b518b6389be6160c1aa62
4
- data.tar.gz: 70357110d61082ff08ae85d5a4b959ebf491889a
3
+ metadata.gz: db39019c0d332c8b9d8aa0c7023ef58742057329
4
+ data.tar.gz: 6b99059850577a6fd6577d75139d5240ff68bb1b
5
5
  SHA512:
6
- metadata.gz: 39543d33a470a2d2fe3d5a2f11e6769f6dda9da2a6c8b8ef1f506e1a8e7f8b957bc93f77852ab52520d1d1f97d86ca6bc7dad6aa2c7b9ff95fc05636e60fe58c
7
- data.tar.gz: d728c4b4bae2bce8470c027ebe35f2afec7d97b7b4f92f1cd80bea3974b7d40e014f1e1aff8cb5cbf9256d8d46b6cc8000871c630a03e535abfdd15cec4cbc53
6
+ metadata.gz: 8b21698a09406cf22e8310876ab9bed553102e142e79ef6a91e9589a688a160fee024ac0f50de0fdcb327d110a358e4358fc075d59893838cde45c9da60777c7
7
+ data.tar.gz: 0bcaa9eaa52e2947d8d07108f455644d157d205c46a9cc3113c247bf5ffa140a8144d29484fb585201364155166cec9f469d347d99f553b9cf729b6f77ce4a22
@@ -1,7 +1,7 @@
1
1
  module Jquery
2
2
  module Matchheight
3
3
  module Rails
4
- VERSION = "0.7.0.1".freeze
4
+ VERSION = "0.7.1".freeze
5
5
  end
6
6
  end
7
7
  end
@@ -1,5 +1,5 @@
1
1
  /**
2
- * jquery-match-height 0.7.0 by @liabru
2
+ * jquery-match-height 0.7.1 by @liabru
3
3
  * http://brm.io/jquery-match-height/
4
4
  * License: MIT
5
5
  */
@@ -143,7 +143,7 @@
143
143
  * plugin global options
144
144
  */
145
145
 
146
- matchHeight.version = '0.7.0';
146
+ matchHeight.version = '0.7.1';
147
147
  matchHeight._groups = [];
148
148
  matchHeight._throttle = 80;
149
149
  matchHeight._maintainScroll = false;
@@ -372,13 +372,16 @@
372
372
  // apply on DOM ready event
373
373
  $(matchHeight._applyDataApi);
374
374
 
375
+ // use on or bind where supported
376
+ var on = $.fn.on ? 'on' : 'bind';
377
+
375
378
  // update heights on load and resize events
376
- $(window).bind('load', function(event) {
379
+ $(window)[on]('load', function(event) {
377
380
  matchHeight._update(false, event);
378
381
  });
379
382
 
380
383
  // throttled update heights on resize events
381
- $(window).bind('resize orientationchange', function(event) {
384
+ $(window)[on]('resize orientationchange', function(event) {
382
385
  matchHeight._update(true, event);
383
386
  });
384
387
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-matchheight-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0.1
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Dias
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-17 00:00:00.000000000 Z
11
+ date: 2017-03-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: matchHeight makes the height of all selected elements exactly equal
14
14
  email:
@@ -48,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
48
  version: '0'
49
49
  requirements: []
50
50
  rubyforge_project:
51
- rubygems_version: 2.5.1
51
+ rubygems_version: 2.6.10
52
52
  signing_key:
53
53
  specification_version: 4
54
54
  summary: jquery.matchHeight.js for the Rails Asset Pipeline