<commit_before>import Sizzle from './Sizzle';
import utils, { extend, each } from './utils';
import Ajax from './ajax';
import _Event from './Event';
import _Css from './Css';
import _Class from './Class';
import _Document from './Document';
import _Offset from './Offset';
import _Element from './Element';
import _Animate from './Animate';
import _Data from './Data';

// 如果需要集成Angular,React,在此处进行集成
const jTool = function (selector, context) {
	return new Sizzle(selector, context);
};

// 把jquery原先的jQuery.fn给省略了.原先的方式是 init = jQuery.fn.init; init.prototype = jQuery.fn;
Sizzle.prototype = jTool.prototype = {};
// 捆绑jTool 工具
jTool.extend = jTool.prototype.extend = extend;
jTool.extend(utils);
jTool.extend(Ajax);

// 捆绑jTool 方法
each([_Event, _Css, _Class, _Document, _Offset, _Element, _Animate, _Data], (i, v) => {
    jTool.prototype.extend(v);
});

// 抛出全局变量jTool
window.jTool = jTool;
<commit_msg>:bug: fix ajax name error<commit_after>import Sizzle from './Sizzle';
import utils, { extend, each } from './utils';
import Ajax from './Ajax';
import _Event from './Event';
import _Css from './Css';
import _Class from './Class';
import _Document from './Document';
import _Offset from './Offset';
import _Element from './Element';
import _Animate from './Animate';
import _Data from './Data';

// 如果需要集成Angular,React,在此处进行集成
const jTool = function (selector, context) {
	return new Sizzle(selector, context);
};

// 把jquery原先的jQuery.fn给省略了.原先的方式是 init = jQuery.fn.init; init.prototype = jQuery.fn;
Sizzle.prototype = jTool.prototype = {};
// 捆绑jTool 工具
jTool.extend = jTool.prototype.extend = extend;
jTool.extend(utils);
jTool.extend(Ajax);

// 捆绑jTool 方法
each([_Event, _Css, _Class, _Document, _Offset, _Element, _Animate, _Data], (i, v) => {
    jTool.prototype.extend(v);
});

// 抛出全局变量jTool
window.jTool = jTool;

{'fraction_non_alphanumeric': 0.1588170865279299, 'fraction_numerical': 0.0, 'mean_word_length': 4.486486486486487, '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': '1503548', 'n_tokens_mistral': 678, 'n_tokens_neox': 688, 'n_words': 176}