{"size": 2910, "ext": "js", "max_stars_repo_path": "assets/js/notify.min.js", "max_stars_repo_name": "twisted1919/yii2-notify", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "assets/js/notify.min.js", "max_issues_repo_name": "twisted1919/yii2-notify", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "assets/js/notify.min.js", "max_forks_repo_name": "twisted1919/yii2-notify", "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": 2910.0, "max_line_length": 2910, "alphanum_fraction": 0.6848797251}
!function(a,b,c,d){var e=function(){function d(){return c._merged?c:(c._merged=!0,c=a.extend({},c,g.options))}function e(a,c){"object"==typeof b[c]&&b[c].push(a)}function f(){d();var e=[],f=a(c.container);if(0!=f.length){if(b.error.length>0){var g=[];g.push("<ul>");for(var h in b.error)"string"==typeof b.error[h]&&g.push("<li>"+b.error[h]+"</li>");g.push("</ul>");var i=[];c.htmlCloseButton&&i.push(c.htmlCloseButton),c.htmlHeading&&c.errorHeading&&i.push(c.htmlHeading.replace("{CONTENT}",c.errorHeading)),i.push(g.join("\n"));var j=c.htmlWrapper.replace("{CLASS}",c.errorClass);j=j.replace("{CONTENT}",i.join("\n")),e.push(j)}if(b.warning.length>0){var g=[];g.push("<ul>");for(var h in b.warning)"string"==typeof b.warning[h]&&g.push("<li>"+b.warning[h]+"</li>");g.push("</ul>");var i=[];c.htmlCloseButton&&i.push(c.htmlCloseButton),c.htmlHeading&&c.warningHeading&&i.push(c.htmlHeading.replace("{CONTENT}",c.warningHeading)),i.push(g.join("\n"));var j=c.htmlWrapper.replace("{CLASS}",c.warningClass);j=j.replace("{CONTENT}",i.join("\n")),e.push(j)}if(b.info.length>0){var g=[];g.push("<ul>");for(var h in b.info)"string"==typeof b.info[h]&&g.push("<li>"+b.info[h]+"</li>");g.push("</ul>");var i=[];c.htmlCloseButton&&i.push(c.htmlCloseButton),c.htmlHeading&&c.infoHeading&&i.push(c.htmlHeading.replace("{CONTENT}",c.infoHeading)),i.push(g.join("\n"));var j=c.htmlWrapper.replace("{CLASS}",c.infoClass);j=j.replace("{CONTENT}",i.join("\n")),e.push(j)}if(b.success.length>0){var g=[];g.push("<ul>");for(var h in b.success)"string"==typeof b.success[h]&&g.push("<li>"+b.success[h]+"</li>");g.push("</ul>");var i=[];c.htmlCloseButton&&i.push(c.htmlCloseButton),c.htmlHeading&&c.successHeading&&i.push(c.htmlHeading.replace("{CONTENT}",c.successHeading)),i.push(g.join("\n"));var j=c.htmlWrapper.replace("{CLASS}",c.successClass);j=j.replace("{CONTENT}",i.join("\n")),e.push(j)}0!=e.length&&f.html(e.join(""))}}var b={error:[],warning:[],info:[],success:[]},c={container:"#notify-container",errorClass:"alert alert-block alert-danger",warningClass:"alert alert-block alert-warning",infoClass:"alert alert-block alert-info",successClass:"alert alert-block alert-success",htmlWrapper:'<div class="{CLASS}">{CONTENT}</div>',htmlCloseButton:'<button type="button" class="close" data-dismiss="alert">×</button>',htmlHeading:"<p>{CONTENT}</p>",errorHeading:"",warningHeading:"",infoHeading:"",successHeading:"",_merged:!1},g={options:{},setOption:function(a,b){return c.hasOwnProperty(a)&&(c[a]=b),this},getOption:function(a){return!!c.hasOwnProperty(a)&&c[a]},addError:function(a){return e(a,"error"),this},addWarning:function(a){return e(a,"warning"),this},addInfo:function(a){return e(a,"info"),this},addSuccess:function(a){return e(a,"success"),this},show:function(){return f(),this},remove:function(){for(var d in b)b[d]=[];return a(c.container).empty(),this}};return g};b.notify=new e}(jQuery,window,document);