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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: db39019c0d332c8b9d8aa0c7023ef58742057329
|
|
4
|
+
data.tar.gz: 6b99059850577a6fd6577d75139d5240ff68bb1b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b21698a09406cf22e8310876ab9bed553102e142e79ef6a91e9589a688a160fee024ac0f50de0fdcb327d110a358e4358fc075d59893838cde45c9da60777c7
|
|
7
|
+
data.tar.gz: 0bcaa9eaa52e2947d8d07108f455644d157d205c46a9cc3113c247bf5ffa140a8144d29484fb585201364155166cec9f469d347d99f553b9cf729b6f77ce4a22
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* jquery-match-height 0.7.
|
|
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.
|
|
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)
|
|
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)
|
|
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.
|
|
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-
|
|
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.
|
|
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
|