<commit_before>(function(W, A) {
	'use strict';

	/**
	 * Cast selection as Wee object
	 *
	 * @param {($|HTMLElement|string)} sel
	 * @param {($|HTMLElement|string)} [context=document]
	 */
	var Get = function(sel, context) {
			if (sel) {
				var els = Array.isArray(sel) ?
						sel :
						W.$toArray(W.$(sel, context)),
					i = 0;

				for (; i < els.length; i++) {
					var el = els[i];

					if (el) {
						A.call(this, el);
					}
				}

				this.sel = sel;
			}
		},
		$;

	/**
	 * Create chainable Wee object from selection
	 *
	 * @param {(HTMLElement|string)} sel
	 * @param {object} [context=document]
	 */
	$ = W._win[W._$] = function(sel, context) {
		return new Get(sel, context);
	};

	// Extend core with chain registration method
	W.fn.extend({
		/**
		 * Register a new chainable method
		 *
		 * @param {(object|string)} a - method name or object
		 * @param {function} b
		 */
		$chain: function(a, b) {
			if (typeof a == 'string') {
				$.fn[a] = b;
			} else {
				for (var key in a) {
					$.fn[key] = a[key];
				}
			}
		}
	});

	// Shortcut core methods from alias
	for (var key in W) {
		if (key[0] !== '_') {
			$[key.replace(/^\$/, '')] = W[key];
		}
	}

	// Bind core chainable methods
	$.fn = Get.prototype = {
		_$: true,
		length: 0,

		/**
		 * Execute function for each object element
		 *
		 * @param fn
		 * @param {object} [options]
		 * @param {Array} [options.args]<commit_msg>Bind Wee scope to all aliased shorthand methods<commit_after>(function(W, A) {
	'use strict';

	/**
	 * Cast selection as Wee object
	 *
	 * @param {($|HTMLElement|string)} sel
	 * @param {($|HTMLElement|string)} [context=document]
	 */
	var Get = function(sel, context) {
			if (sel) {
				var els = Array.isArray(sel) ?
						sel :
						W.$toArray(W.$(sel, context)),
					i = 0;

				for (; i < els.length; i++) {
					var el = els[i];

					if (el) {
						A.call(this, el);
					}
				}

				this.sel = sel;
			}
		},
		$;

	/**
	 * Create chainable Wee object from selection
	 *
	 * @param {(HTMLElement|string)} sel
	 * @param {object} [context=document]
	 */
	$ = W._win[W._$] = function(sel, context) {
		return new Get(sel, context);
	};

	// Extend core with chain registration method
	W.fn.extend({
		/**
		 * Register a new chainable method
		 *
		 * @param {(object|string)} a - method name or object
		 * @param {function} b
		 */
		$chain: function(a, b) {
			if (typeof a == 'string') {
				$.fn[a] = b;
			} else {
				for (var key in a) {
					$.fn[key] = a[key];
				}
			}
		}
	});

	// Shortcut core methods from alias
	for (var key in W) {
		var val = W[key];

		$[key.replace(/^\$/, '')] = W.$isFunction(val) ?
			val.bind(W) :
			val;
	}

	// Bind core chainable methods
	$.fn = Get.prototype = {
		_$: true,
		length: 0,

		/**
		 * Execute function for each object element
		 *
		 * @param fn
		 * @param {object} [options]
		 * @param {Array} [options.args]
{'fraction_non_alphanumeric': 0.1829436038514443, 'fraction_numerical': 0.0017193947730398899, 'mean_word_length': 2.32837528604119, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '2715092', 'n_tokens_mistral': 1299, 'n_tokens_neox': 1062, 'n_words': 283}