summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Banks <mjbanks@gmail.com>2013-09-05 11:22:58 -0400
committerMatt Banks <mjbanks@gmail.com>2013-09-05 11:22:58 -0400
commit320d9e2bbcf16e2cbd0f5f5ff1d1f921f10c4010 (patch)
treefb300c1d7408aff72acf6105c5758e768e4fbad1
parent9b3bcd77998795b0a292f8328f4a23ec5040dc30 (diff)
downloadjQuery.equalHeights-320d9e2bbcf16e2cbd0f5f5ff1d1f921f10c4010.zip
jQuery.equalHeights-320d9e2bbcf16e2cbd0f5f5ff1d1f921f10c4010.tar.gz
jQuery.equalHeights-320d9e2bbcf16e2cbd0f5f5ff1d1f921f10c4010.tar.bz2
change auto-initialize to use data-equal, props pafnuty
-rw-r--r--jquery.equalheights.js6
-rw-r--r--jquery.equalheights.min.js8
2 files changed, 7 insertions, 7 deletions
diff --git a/jquery.equalheights.js b/jquery.equalheights.js
index 566a524..6d2502e 100644
--- a/jquery.equalheights.js
+++ b/jquery.equalheights.js
@@ -1,12 +1,12 @@
-/*
+/*!
* Simple jQuery Equal Heights
*
- * Copyright (c) 2012 Matt Banks
+ * Copyright (c) 2013 Matt Banks
* Dual licensed under the MIT and GPL licenses.
* Uses the same license as jQuery, see:
* http://docs.jquery.com/License
*
- * @version 1.4.2
+ * @version 1.5.0
*/
(function($) {
diff --git a/jquery.equalheights.min.js b/jquery.equalheights.min.js
index 4959421..96d848b 100644
--- a/jquery.equalheights.min.js
+++ b/jquery.equalheights.min.js
@@ -1,11 +1,11 @@
-/*
+/*!
* Simple jQuery Equal Heights
*
- * Copyright (c) 2012 Matt Banks
+ * Copyright (c) 2013 Matt Banks
* Dual licensed under the MIT and GPL licenses.
* Uses the same license as jQuery, see:
* http://docs.jquery.com/License
*
- * @version 1.4.2
+ * @version 1.5.0
*/
-!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);
+!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-equal]").each(function(){var b=a(this),c=b.data("equal");b.find(c).equalHeights()})}(jQuery); \ No newline at end of file