{"size": 1166, "ext": "js", "max_stars_repo_path": "src/main/resources/assets/js/notify.js", "max_stars_repo_name": "TinaWenwen/flight-operator", "max_stars_repo_stars_event_min_datetime": "2021-11-29T02:09:33.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-29T02:09:33.000Z", "max_issues_repo_path": "src/main/resources/assets/js/notify.js", "max_issues_repo_name": "TinaWenwen/flight-operator", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/main/resources/assets/js/notify.js", "max_forks_repo_name": "TinaWenwen/flight-operator", "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": 23.7959183673, "max_line_length": 54, "alphanum_fraction": 0.474271012}
(function (e) {
    "use strict";
    var option = {
        title: true,
        size: 'mini',
        showClass: 'zoomIn',
        hideClass: 'zoomOut',
        icon: false,
        msg: 'hello world',
        img: null,
        closable: true,
        delay: 1500,
        delayIndicator: true,
        closeOnClick: true,
        width: 300,
        sound: false,
        position: 'top right',
        rounded: false,
        messageHeight: 60,
        pauseDelayOnHover: true,
        onClickUrl: null,
        showAfterPrevious: false,
        continueDelayOnInactiveTab: true
    };

    function run(type, msg, opt) {
        var settings = $.extend({}, option, opt);
        settings.msg = msg;
        Lobibox.notify(type, settings);
    };

    var notify = {
        info(msg, opt) {
            run("info", msg, opt);
        },
        warning(msg, opt) {
            run("warning", msg, opt);
        },
        error(msg, opt) {
            if (opt == undefined) opt = {delay: 3000};
            run("error", msg, opt);
        },
        success(msg, opt) {
            run("success", msg, opt);
        }
    };

    e.notify = notify;
})(window);