<commit_before>/*!
 * jQuery viewport events plugin (jquery.vp.js)
 * Original author: <NAME> - <EMAIL>
 * Licensed under the MIT license
 */
;(function ( $, window, document, undefined ) {
	$.fn.vp = function (options) {
		return this.each(function (i, el) {
			var base = el;
			var	$base = $(el);
			var o = {
				triggerOnLoad: options.triggerOnLoad || false,
				offset: options.offset || 0
			};
			base.init = function () {
				var cp = "";
				var bounding = base.getBoundingClientRect();
				var h = bounding.bottom - bounding.top;
				var b = window.innerHeight - bounding.top;
				var t = bounding.top + h;
				$(window)
					.load(function () {
					if (b < 0 && cp != "below") {
						cp = "below";
						if (o.triggerOnLoad) base.below();
					} else if (t < 0 && cp != "above") {
						cp = "above";
						if (o.triggerOnLoad) base.above();
					} else {
						cp = "view";
						if (o.triggerOnLoad) base.view();
					}
				})
					.scroll(function () {
					bounding = base.getBoundingClientRect();
					h = bounding.bottom - bounding.top;<commit_msg>on load event one if<commit_after>/*!
 * jQuery viewport events plugin (jquery.vp.js)
 * Original author: <NAME> - <EMAIL>
 * Licensed under the MIT license
 */
;(function ( $, window, document, undefined ) {
	$.fn.vp = function (options) {
		return this.each(function (i, el) {
			var base = el;
			var	$base = $(el);
			var o = {
				triggerOnLoad: options.triggerOnLoad || false,
				offset: options.offset || 0
			};
			base.init = function () {
				var cp = "";
				var bounding = base.getBoundingClientRect();
				var h = bounding.bottom - bounding.top;
				var b = window.innerHeight - bounding.top;
				var t = bounding.top + h;
				$(window)
					.load(function () {
                        if (o.triggerOnLoad) {
                            if (b < 0 && cp != "below") {
                                cp = "below";
                                base.below();
                            } else if (t < 0 && cp != "above") {
                                cp = "above";
                                base.above();
                            } else {
                                cp = "view";
                                base.view();
                            }
                        }
				})
					.scroll(function () {
					bounding = base.getBoundingClientRect();
					h = bounding.bottom - bounding.top;
{'fraction_non_alphanumeric': 0.14327363598500625, 'fraction_numerical': 0.0024989587671803417, 'mean_word_length': 1.6080347448425625, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1589299', 'n_tokens_mistral': 897, 'n_tokens_neox': 701, 'n_words': 187}