{"size": 1425, "ext": "js", "max_stars_repo_path": "dist/jquery.aljs-icon-group.min.js", "max_stars_repo_name": "pyojo/appiphony-lightning-js", "max_stars_repo_stars_event_min_datetime": "2015-11-04T00:53:06.000Z", "max_stars_repo_stars_event_max_datetime": "2021-04-09T11:19:05.000Z", "max_issues_repo_path": "dist/jquery.aljs-icon-group.min.js", "max_issues_repo_name": "pyojo/appiphony-lightning-js", "max_issues_repo_issues_event_min_datetime": "2015-11-05T00:29:23.000Z", "max_issues_repo_issues_event_max_datetime": "2018-05-15T00:45:24.000Z", "max_forks_repo_path": "dist/jquery.aljs-icon-group.min.js", "max_forks_repo_name": "pyojo/appiphony-lightning-js", "max_forks_repo_forks_event_min_datetime": "2015-11-17T05:59:44.000Z", "max_forks_repo_forks_event_max_datetime": "2021-08-23T08:06:38.000Z"}
{"max_stars_count": 64, "max_issues_count": 98, "max_forks_count": 44, "avg_line_length": 1425.0, "max_line_length": 1425, "alphanum_fraction": 0.7277192982}
if("undefined"==typeof jQuery.aljs)throw new Error("Please include the ALJS initializer file");!function(t){t.fn.iconGroup=function(e){function s(t){t.removeClass(a).addClass(i).trigger("selected.aljs.button")}function n(t){t.removeClass(i).addClass(a).trigger("deselected.aljs.button")}var o={},i="slds-is-selected",a="slds-not-selected";if(o.settings=t.extend({type:"sort",defaultButtonId:"",onChange:function(t){console.log(t)},assetsLocation:t.aljs.assetsLocation},e),"string"!=typeof e)return o.buttons=t(".slds-button",this),o.defaultIcon=""===o.settings.defaultButtonId?o.buttons.eq(0):"#"+o.settings.defaultButtonId,"sort"===o.settings.type&&s(t(o.defaultIcon)),o.buttons.click(function(){o.target=t(this),o.targetId=o.target.attr("id"),!o.target.hasClass(i)||"toggle"!==o.settings.type&&"switch"!==o.settings.type?o.target.hasClass(a)&&"toggle"===o.settings.type?(s(o.target),o.settings.onChange()):!o.target.hasClass(a)||"switch"!==o.settings.type&&"sort"!==o.settings.type||(o.buttons.each(function(){t(this)!==o.target&&t(this).hasClass(i)&&n(t(this))}),s(o.target),o.settings.onChange(o)):(n(o.target),o.settings.onChange())}),this;if("string"==typeof e)return this.each(function(){switch(e){case"select":s(t(this));break;case"deselect":n(t(this));break;default:console.error("The method you entered does not exist")}});throw new Error("This plugin can only be run with a selector, or with a command")}}(jQuery);