Sha256: e93728e01ba2e1532250f6bf9ee2811c3aaa081798fd6d0fade16e327b47bf81

Contents?: true

Size: 783 Bytes

Versions: 11

Compression:

Stored size: 783 Bytes

Contents

/* see test.html for example matchHeight usage */

/* testing page code only, you wont need this! */

(function() {

    $(function() {
        bindTestOptions();
    });

    var bindTestOptions = function() {
        resetTestOptions();
        $('.option').change(resetTestOptions);
    };

    var resetTestOptions = function() {
        // update test options
        $('.option').each(function() {
            var $this = $(this);
            $('body').toggleClass($this.val(), $this.prop('checked'));
        });

        // update byRow option
        var byRow = $('body').hasClass('test-rows');
        $.each($.fn.matchHeight._groups, function() {
            this.byRow = byRow;
        });

        // update all heights
        $.fn.matchHeight._update();
    };

})();

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
jekyll-theme-prettydocs-1.0.3 assets/plugins/jquery-match-height/test.js
jekyll-theme-prettydocs-1.0.2 assets/plugins/jquery-match-height/test.js
jekyll-theme-prettydocs-1.0.1 assets/plugins/jquery-match-height/test.js
jekyll-theme-prettydocs-1.0.0 assets/plugins/jquery-match-height/test.js
jekyll-theme-prettydocs-0.0.6 assets/plugins/jquery-match-height/test.js
jekyll-theme-prettydocs-0.0.5 assets/plugins/jquery-match-height/test.js
jekyll-theme-prettydocs-0.0.4 assets/plugins/jquery-match-height/test.js
jekyll-theme-prettydocs-0.0.3 assets/plugins/jquery-match-height/test.js
jekyll-theme-prettydocs-0.0.2 assets/plugins/jquery-match-height/test.js
jekyll-theme-prettydocs-0.0.1 assets/plugins/jquery-match-height/test.js
prettydocs_rails-1.1.16 vendor/assets/javascripts/jquery-match-height/test.js