summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Banks <mjbanks@gmail.com>2013-08-09 12:26:06 -0400
committerMatt Banks <mjbanks@gmail.com>2013-08-09 12:27:52 -0400
commita0d5faded9e81b0151377b18ada0598f0d2592d1 (patch)
tree83dce65472bec176e2410eeaadabf2ca180424c0
parent473254277ff2cdd623a0a06025d0e6b0a33a2c4d (diff)
downloadjQuery.equalHeights-a0d5faded9e81b0151377b18ada0598f0d2592d1.zip
jQuery.equalHeights-a0d5faded9e81b0151377b18ada0598f0d2592d1.tar.gz
jQuery.equalHeights-a0d5faded9e81b0151377b18ada0598f0d2592d1.tar.bz2
bump to 1.4.2, credit Korri, re-uglify minified version
-rw-r--r--README.md7
-rw-r--r--bower.json2
-rw-r--r--jquery.equalheights.js2
-rw-r--r--jquery.equalheights.min.js4
4 files changed, 10 insertions, 5 deletions
diff --git a/README.md b/README.md
index dfa041e..4589aaa 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# jQuery Simple Equal Heights
-Version 1.4.1
+Version 1.4.2
## Summary
@@ -45,9 +45,14 @@ See `example.html` in examples folder.
## Contributors
* [betweenbrain](https://github.com/betweenbrain)
+* [Korri](https://github.com/Korri)
### Changelog
+#### Version 1.4.2
+
+* allow multiple `data-heights` elements per page (props [Korri](https://github.com/Korri))
+
#### Version 1.4.1
* add bower support
diff --git a/bower.json b/bower.json
index 9a10d09..5c9f081 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name": "jQuery.equalHeights",
- "version": "1.4.1",
+ "version": "1.4.2",
"main": "jQuery.equalHeights.js",
"dependencies": {
"jquery": ">=1.7"
diff --git a/jquery.equalheights.js b/jquery.equalheights.js
index 17f6b73..9916a25 100644
--- a/jquery.equalheights.js
+++ b/jquery.equalheights.js
@@ -6,7 +6,7 @@
* Uses the same license as jQuery, see:
* http://docs.jquery.com/License
*
- * @version 1.4
+ * @version 1.4.2
*/
(function($) {
diff --git a/jquery.equalheights.min.js b/jquery.equalheights.min.js
index 7b40b88..4959421 100644
--- a/jquery.equalheights.min.js
+++ b/jquery.equalheights.min.js
@@ -6,6 +6,6 @@
* Uses the same license as jQuery, see:
* http://docs.jquery.com/License
*
- * @version 1.4
+ * @version 1.4.2
*/
-(function(e){e.fn.equalHeights=function(){var t=0,n=e(this);n.each(function(){var n=e(this).innerHeight();if(n>t){t=n}});return n.height(t)};e('[data-heights="equal"]').each(function(){var t=e(this),n=t.data("targets");t.find(n).equalHeights()})})(jQuery)
+!function(a){a.fn.equalHeights=function(){var b=0,c=a(this);return c.each(function(){var c=a(this).innerHeight();c>b&&(b=c)}),c.height(b)},a('[data-heights="equal"]').each(function(){var b=a(this),c=b.data("targets");b.find(c).equalHeights()})}(jQuery);