Skip to content

Commit

Permalink
release 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Feb 19, 2017
1 parent e468ae9 commit e180ac7
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 11 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
<a name="0.7.1"></a>
## 0.7.1 (2017-02-19)


* change $.bind to $.on where supported, closes #120 and #145 ([e468ae9](https://github.com/liabru/jquery-match-height/commit/e468ae9)), closes [#120](https://github.com/liabru/jquery-match-height/issues/120) [#145](https://github.com/liabru/jquery-match-height/issues/145)
* deleted redundant min file (moved to dist) ([f530833](https://github.com/liabru/jquery-match-height/commit/f530833))
* fix release tasks ([1462c36](https://github.com/liabru/jquery-match-height/commit/1462c36))
* Merge pull request #115 from robeerob/patch-1 ([ab31d58](https://github.com/liabru/jquery-match-height/commit/ab31d58))
* Update README.md with raw downloadable install url ([dcc9ad6](https://github.com/liabru/jquery-match-height/commit/dcc9ad6))



<a name="0.7.0"></a>
# 0.7.0 (2016-01-04)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "matchHeight",
"version": "0.7.0",
"version": "0.7.1",
"homepage": "https://github.com/liabru/jquery-match-height",
"authors": [
"Liam Brummitt <[email protected]> (http://brm.io/)"
Expand Down
14 changes: 7 additions & 7 deletions dist/jquery.matchHeight-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions dist/jquery.matchHeight.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,13 +372,16 @@
// apply on DOM ready event
$(matchHeight._applyDataApi);

// use on or bind where supported
var on = $.fn.on ? 'on' : 'bind';

// update heights on load and resize events
$(window).bind('load', function(event) {
$(window)[on]('load', function(event) {
matchHeight._update(false, event);
});

// throttled update heights on resize events
$(window).bind('resize orientationchange', function(event) {
$(window)[on]('resize orientationchange', function(event) {
matchHeight._update(true, event);
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery-match-height",
"version": "0.7.0",
"version": "0.7.1",
"license": "MIT",
"homepage": "http://brm.io/jquery-match-height/",
"author": "Liam Brummitt <[email protected]> (http://brm.io/)",
Expand Down

0 comments on commit e180ac7

Please sign in to comment.