{"size": 2024, "ext": "js", "max_stars_repo_path": "admin/js/plugins/font_size.min.min.js", "max_stars_repo_name": "jmondragonc/battimixea", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "admin/js/plugins/font_size.min.min.js", "max_issues_repo_name": "jmondragonc/battimixea", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "admin/js/plugins/font_size.min.min.js", "max_forks_repo_name": "jmondragonc/battimixea", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 337.3333333333, "max_line_length": 1865, "alphanum_fraction": 0.7080039526}
/*!
 * froala_editor v2.7.6 (https://www.froala.com/wysiwyg-editor)
 * License https://froala.com/wysiwyg-editor/terms/
 * Copyright 2014-2018 Froala Labs
 */
;!function(b){"function"==typeof define&&define.amd?define(["jquery"],b):"object"==typeof module&&module.exports?module.exports=function(a,d){return void 0===d&&(d="undefined"!=typeof window?require("jquery"):require("jquery")(a)),b(d)}:b(window.jQuery)}(function(b){b.extend(b.FE.DEFAULTS,{fontSize:["8","9","10","11","12","14","18","24","30","36","48","60","72","96"],fontSizeSelection:!1,fontSizeDefaultSelection:"12"}),b.FE.PLUGINS.fontSize=function(a){function h(c){a.format.applyStyle("font-size",c)}function g(m,l){var k=b(a.selection.element()).css("font-size");l.find(".fr-command.fr-active").removeClass("fr-active").attr("aria-selected",!1),l.find('.fr-command[data-param1="'+k+'"]').addClass("fr-active").attr("aria-selected",!0);var j=l.find(".fr-dropdown-list"),i=l.find(".fr-active").parent();i.length?j.parent().scrollTop(i.offset().top-j.offset().top-(j.parent().outerHeight()/2-i.outerHeight()/2)):j.parent().scrollTop(0)}function f(i){if(a.opts.fontSizeSelection){var e=a.helpers.getPX(b(a.selection.element()).css("font-size"));i.find("> span").text(e)}}return{apply:h,refreshOnShow:g,refresh:f}},b.FE.RegisterCommand("fontSize",{type:"dropdown",title:"Font Size",displaySelection:function(c){return c.opts.fontSizeSelection},displaySelectionWidth:30,defaultSelection:function(c){return c.opts.fontSizeDefaultSelection},html:function(){for(var f='<ul class="fr-dropdown-list" role="presentation">',e=this.opts.fontSize,h=0;h<e.length;h++){var g=e[h];f+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="fontSize" data-param1="'+g+'px" title="'+g+'">'+g+"</a></li>"}return f+="</ul>"},callback:function(d,c){this.fontSize.apply(c)},refresh:function(c){this.fontSize.refresh(c)},refreshOnShow:function(d,c){this.fontSize.refreshOnShow(d,c)},plugin:"fontSize"}),b.FE.DefineIcon("fontSize",{NAME:"text-height"})});