{"_id":"jquery.equalheights","_rev":"3-49b40894fbf1422a88ce96aa8cec0e57","name":"jquery.equalheights","description":"Simple equal heights jQuery plugin","dist-tags":{"latest":"1.5.3"},"versions":{"1.5.3":{"name":"jquery.equalheights","version":"1.5.3","description":"Simple equal heights jQuery plugin","main":"jquery.equalheights.min.js","dependencies":{"load-grunt-tasks":"~3.3.0","jquery":">=1.7"},"devDependencies":{"grunt":"~0.4.5","grunt-contrib-jshint":"~0.11.3","grunt-contrib-uglify":"~0.11.0","grunt-contrib-watch":"~0.6.1"},"repository":{"type":"git","url":"git+https://github.com/mattbanks/jQuery.equalHeights.git"},"keywords":["JavaScript","jQuery","equal heights"],"author":{"name":"Matt Banks","email":"@mattbanks","url":"mattbanks.me"},"license":"Dual licensed under the MIT and GPL licenses","bugs":{"url":"https://github.com/mattbanks/jQuery.equalHeights/issues"},"gitHead":"bc879d4f13cbc90c52afc1106764b06fa67d49fe","homepage":"https://github.com/mattbanks/jQuery.equalHeights#readme","_id":"jquery.equalheights@1.5.3","scripts":{},"_shasum":"5d24f36c167a313df1d9bb2c88718a858ff8fb23","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"mattbanks","email":"mjbanks@gmail.com"},"dist":{"shasum":"5d24f36c167a313df1d9bb2c88718a858ff8fb23","tarball":"https://registry.npmjs.org/jquery.equalheights/-/jquery.equalheights-1.5.3.tgz","integrity":"sha512-LijAcyQwuQaSx2w4etM4mA/mpucaPL3Cn38FB/9fkGDVC3TnNahdkCnwaw1Zk6g/u/ALRBA0bSzQmSk3Gdr4Vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE3fQy6TzjLR6YnIjK0oln2LuvOgoDKyveHm9YpUEbqxAiBgUFUwzbsAooxovt90D+SATNQMvpUpFstMpss+NUJ0+A=="}]},"maintainers":[{"name":"mattbanks","email":"mjbanks@gmail.com"}]}},"readme":"# jQuery Simple Equal Heights\n\nVersion 1.5.3\n\n## Summary\n\nSimple jQuery plugin to equalize heights of multiple elements on a page.\n\n## Author\n\nMatt Banks ( [@mattbanks](http://twitter.com/mattbanks) / [kernelcreativemedia.com](http://www.kernelcreativemedia.com) / [mattbanks.me](http://www.mattbanks.me) )\n\n## Usage\n\nInclude `jquery.equalheights.min.js` after calling jQuery in the footer. Alternatively, include in your `plugins.js` file if using [HTML5 Boilerplate](http://html5boilerplate.com).\n\nAlternatively, install with [bower](https://github.com/bower/bower):\n\n\tbower install jquery.equalheights\n\n### Auto Initialize\n\nAdd `data-equal=\"MYELEMENTS\"` to the parent container, where MYELEMENTS is div, section, li, whatever you'd like. [See the example](https://github.com/mattbanks/jQuery.equalHeights/blob/master/example/example.html) for more information.\nYou can specify options by setting them as a data-attribute, for example: `data-watch=\"true\"`.\n\n### Manually Initialize\n\n\t$('.yourelements').equalHeights([options]);\n\nSelect whatever elements need equal height. You can optionally pass in an object with one or more options\n\n#### Option: `wait`\n\nIf you pass in `{wait: true}` your elements' height will only be equalized as soon as they have layout.\n\n\t$('.yourelements').equalHeights({wait: true});\n\n#### Option: `watch`\n\nPass in `{watch: true}` if you want to execute `equalHeights` on resize. This can improve the responsiveness of the elements with equalized heights.\n\n\t$('.yourelements').equalHeights({watch: true});\n\n#### Option: `unwatch`\n\nPass in `{unwatch: true}` to unwatch a set of elements that are currently watched.\n\n\t$('.yourelements').equalHeights({unwatch: true});\n\n### Caveats\n\nIf using @font-face or Google Web Fonts, you may need to wrap the function call in a `setTimeout` for 100ms-200ms or call it on `window` `load` (`jQuery.height()` needs to fire after the font is rendered to properly calculate the height). Otherwise even the `wait` option could fail here as the element might be rendered and have layout before the fonts are loaded and applied.\n\n## Requirements/Browsers\n\nTested with jQuery 1.7.x.\n\nWorks in IE6+, Chrome 14+, Safari 4+, Firefox 3.0+, Opera 10+.\n\n## Examples\n\nSee `example.html` in examples folder.\n\n## Contributors\n\n* [betweenbrain](https://github.com/betweenbrain)\n* [Korri](https://github.com/Korri)\n* [pafnuty](https://github.com/pafnuty)\n* [osartun](https://github.com/osartun)\n\n### Changelog\n\n#### Version 1.5.3\n\n* major rewrite (props [osartun](https://github.com/osartun))\n* add `watch`, `unwatch`, and `wait` options\n\n#### Version 1.5.2\n\n* version bump for bower\n\n#### Version 1.5.1\n\n* fix bug with $.height() in jQuery 1.8+ with double padding when `box-sizing` is set to `border-box`\n\n#### Version 1.5.0\n\n* added Grunt for linting and minification\n* change auto-initialization to use a single data attribute (props [pafnuty](https://github.com/pafnuty))\n\n#### Version 1.4.2\n\n* allow multiple `data-heights` elements per page (props [Korri](https://github.com/Korri))\n\n#### Version 1.4.1\n\n* add bower support\n\n#### Version 1.4\n\n* allow auto initialization with `data-heights` and `data-targets` (props [betweenbrain](https://github.com/betweenbrain))\n\n#### Version 1.3\n\n* properly return the jQuery object to allow chaining\n\n#### Version 1.2\n\n* properly cache `$(this)` since it's called twice in the main function\n* calculate height by `innerheight()` instead of `height()` to include any padding\n\n#### Version 1.1\n\n* cleaned up function call\n* updated `example.html` to properly validate\n\n#### Version 1.0\n\n* initial version\n","maintainers":[{"name":"mattbanks","email":"mjbanks@gmail.com"}],"time":{"modified":"2022-06-19T05:19:34.208Z","created":"2015-12-03T17:43:53.671Z","1.5.3":"2015-12-03T17:43:53.671Z"},"homepage":"https://github.com/mattbanks/jQuery.equalHeights#readme","keywords":["JavaScript","jQuery","equal heights"],"repository":{"type":"git","url":"git+https://github.com/mattbanks/jQuery.equalHeights.git"},"author":{"name":"Matt Banks","email":"@mattbanks","url":"mattbanks.me"},"bugs":{"url":"https://github.com/mattbanks/jQuery.equalHeights/issues"},"license":"Dual licensed under the MIT and GPL licenses","readmeFilename":"README.md"}