<commit_before>/**
 * 弹窗最大化
 * @param layer
 * @param title
 * @param url
 */
function alertByFull(layer, title, url) {
    layer.open({
        title: title,
        type: 2,
        shift: 0,
        area: ['100%', '100%'],
        content: url,
        success: function (layero, index) {
            layer.full(index);
        }
    });
}

/**
 * 判断是否为空
 * @param data
 * @returns {boolean}
 */
function checkIsNotNull(data) {
    return data != null && typeof data !== "undefined" && typeof data.valueOf() === "string" && data.length > 0;
}

/**
 * 删除
 * @param deleteCheck
 * @param url
 * @param fun
 */
function doDelete(layer, deleteCheck, url, fun) {
    if (deleteCheck.length == 0) {
        layer.msg("请选择删除项");<commit_msg>alert full<commit_after>/**
 * 弹窗最大化
 * @param layer
 * @param title
 * @param url
 */
function alertByFull(layer, title, url) {
    layer.open({
        title: title,
        type: 2,
        area: ['100%', '100%'],
        content: url,
        success: function (layero, index) {
            layer.full(index);
        }
    });
}

/**
 * 判断是否为空
 * @param data
 * @returns {boolean}
 */
function checkIsNotNull(data) {
    return data != null && typeof data !== "undefined" && typeof data.valueOf() === "string" && data.length > 0;
}

/**
 * 删除
 * @param deleteCheck
 * @param url
 * @param fun
 */
function doDelete(layer, deleteCheck, url, fun) {
    if (deleteCheck.length == 0) {
        layer.msg("请选择删除项");
{'fraction_non_alphanumeric': 0.17229496898690558, 'fraction_numerical': 0.013094417643004824, 'mean_word_length': 2.440758293838863, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2887662', 'n_tokens_mistral': 511, 'n_tokens_neox': 515, 'n_words': 124}