{"size": 293, "ext": "js", "max_stars_repo_path": "app/assets/javascripts/components/error.js", "max_stars_repo_name": "mumaoxi/packaging", "max_stars_repo_stars_event_min_datetime": "2021-01-26T10:37:54.000Z", "max_stars_repo_stars_event_max_datetime": "2021-01-26T10:37:54.000Z", "max_issues_repo_path": "app/assets/javascripts/components/error.js", "max_issues_repo_name": "mumaoxi/packaging", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/assets/javascripts/components/error.js", "max_forks_repo_name": "mumaoxi/packaging", "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": 24.4166666667, "max_line_length": 59, "alphanum_fraction": 0.409556314}
;
(function ($) {
    $.extend({
        miError: function (data) {
            if (data.status == 0 || !navigator.onLine) {
                $.miToast("网络断开，请稍后再试");
                return;
            }
            $.miToast(data.status + ":" + data.statusText);
        }
    });
})(jQuery);