<commit_before>import jQuery from 'expose-loader?jq!expose-loader?jQuery!expose-loader?$!jquery';

import 'bootstrap';
import 'bootstrap/less/bootstrap.less';

import 'jquery-ui';
import 'jquery-ui/ui/widgets/sortable';
import 'jquery-ui/themes/base/all.css'

import 'select2';
import 'select2/dist/css/select2.css';

import 'script-loader!../libs/jquery.clonePosition.js';

import Chart from 'chart.js';
window.Chart = Chart;

import 'gentelella/production/less/custom.css';

import 'font-awesome/css/font-awesome.css';

import Epesi from './epesi';

window.EpesiClass = Epesi;

window.focus_by_id = (idd) => {
    let xx = document.getElementById(idd);
    if (xx) setTimeout(function () {
        jq(xx).focus();
    }, 200);
};

window.addslashes = x => x.replace(/('|"|\\)/g, "\\$1")

window.wait_while_null = (id, action) => {
    if (eval('typeof(' + id + ')') != 'undefined')
        eval(action);
    else
        setTimeout('wait_while_null(\'' + addslashes(id) + '\', \'' + addslashes(action) + '\')', 200);
};

window.getTotalTopOffet = e => {
    let ret = 0;
    while (e != null) {
        ret += e.offsetTop;
        e = e.offsetParent;
    }
    return ret;
};
window.is_visible = function (element) {
    if (!element) return false;
    let display = jQuery(element).css('display');
    if (display == "none") return false;
    if (element.parentNode && element.parentNode.style) {
        xxx = element.parentNode;
        return is_visible(element.parentNode);
    }
    return true;
};<commit_msg>Remove script loader from index.js jquery.clonePosition.js<commit_after>import jQuery from 'expose-loader?jq!expose-loader?jQuery!expose-loader?$!jquery';

import 'bootstrap';
import 'bootstrap/less/bootstrap.less';

import 'jquery-ui';
import 'jquery-ui/ui/widgets/sortable';
import 'jquery-ui/themes/base/all.css'

import 'select2';
import 'select2/dist/css/select2.css';

import '../libs/jquery.clonePosition.js';

import Chart from 'chart.js';
window.Chart = Chart;

import 'gentelella/production/less/custom.css';

import 'font-awesome/css/font-awesome.css';

import Epesi from './epesi';

window.EpesiClass = Epesi;

window.focus_by_id = (idd) => {
    let xx = document.getElementById(idd);
    if (xx) setTimeout(function () {
        jq(xx).focus();
    }, 200);
};

window.addslashes = x => x.replace(/('|"|\\)/g, "\\$1")

window.wait_while_null = (id, action) => {
    if (eval('typeof(' + id + ')') != 'undefined')
        eval(action);
    else
        setTimeout('wait_while_null(\'' + addslashes(id) + '\', \'' + addslashes(action) + '\')', 200);
};

window.getTotalTopOffet = e => {
    let ret = 0;
    while (e != null) {
        ret += e.offsetTop;
        e = e.offsetParent;
    }
    return ret;
};
window.is_visible = function (element) {
    if (!element) return false;
    let display = jQuery(element).css('display');
    if (display == "none") return false;
    if (element.parentNode && element.parentNode.style) {
        xxx = element.parentNode;
        return is_visible(element.parentNode);
    }
    return true;
};
{'fraction_non_alphanumeric': 0.17769807629605477, 'fraction_numerical': 0.007173133355070101, 'mean_word_length': 3.433526011560694, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2428094', 'n_tokens_mistral': 1059, 'n_tokens_neox': 1035, 'n_words': 207}