{"size": 713, "ext": "js", "max_stars_repo_path": "webserver/app-moe/plugins/OpenEmis/webroot/js/jquery/jq.checkable.js", "max_stars_repo_name": "tharangar/k8s-webserver", "max_stars_repo_stars_event_min_datetime": "2019-04-23T19:05:24.000Z", "max_stars_repo_stars_event_max_datetime": "2019-04-23T19:05:24.000Z", "max_issues_repo_path": "webserver/app-moe/plugins/OpenEmis/webroot/js/jquery/jq.checkable.js", "max_issues_repo_name": "tharangar/k8s-webserver", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "webserver/app-moe/plugins/OpenEmis/webroot/js/jquery/jq.checkable.js", "max_forks_repo_name": "tharangar/k8s-webserver", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 27.4230769231, "max_line_length": 70, "alphanum_fraction": 0.4193548387}
//iCheck v.1.0.0

//Checkbox, Radio and Checkbox/Radio in Tables
var Checkable = {
    init: function() {
        this.initTableCheckable();
    },

    initTableCheckable: function() {
        if ($.fn.tableCheckable) {
            $('.table-checkable')
                .tableCheckable()
                .on('masterChecked', function(event, master, slaves) {
                    if ($.fn.iCheck) {
                        $(slaves).iCheck('update');
                    }
                })
                .on('slaveChecked', function(event, master, slave) {
                    if ($.fn.iCheck) {
                        $(master).iCheck('update');
                    }
                });
        }
    }
};
