<commit_before>(function(window) {
  'use strict';

  function define_ParaLib() {
  	// awesome library variable
  	var ParaLib = {};

		// transform prefixes
		ParaLib.transform = function(element, style) {
		  element.style.webkitTransform = style;
		  element.style.MozTransform = style;
		  element.style.msTransform = style;
		  element.style.OTransform = style;
		  element.style.transform = style;
		}

		// main data arr
		ParaLib.paraArr = [];

  	// window properties
  	ParaLib.windowProps = {
			scrollTop    		: window.scrollY,
			windowHeight 		: window.innerHeight,
			windowMidHeight : window.innerHeight / 2,
  	}

		// updates ParaLib.windowProps variables
		ParaLib.updateWindowProps_OnRaf = function() {
			ParaLib.windowProps.scrollTop = window.scrollY;
		}

		// update windowprops on resize
		ParaLib.updateWindowProps_OnResize = function() {
			ParaLib.windowProps.scrollTop 			= window.scrollY;
			ParaLib.windowProps.windowHeight 		= window.innerHeight;
			ParaLib.windowProps.windowMidHeight = window.innerHeight / 2;
		}

		// calculte child padding
		ParaLib.calcChildPadding = function(containerObj, child) {
			var el 					= child.el;
			var paraFactor 	= child.paraFactor;
			var calc = ParaLib.windowProps.windowHeight - containerObj.offset + ParaLib.windowProps.scrollTop;
	    var y = calc / paraFactor;
			console.log(el, paraFactor, calc, y);


			


			return 1;
		}

		// init paraArr
		ParaLib.init = function(settings) {
			/*
				paraArr = [
					obj1 : {
						container: {
							el : element,
							offset : offsetTop,
							height : clientHeight
						},
						children : [
							child1 : {
								el 												: element,
								paraFactor : getAttr("paraFactor"),
							},
							child2 : {
								...
							}
						]
					},

					obj2 : {
						...
					}
				]
			*/<commit_msg>renew<commit_after>(function(window) {
  'use strict';

  function define_ParaLib() {
  	// awesome library variable
  	var ParaLib = {};

		// transform prefixes
		ParaLib.transform = function(element, style) {
		  element.style.webkitTransform = style;
		  element.style.MozTransform = style;
		  element.style.msTransform = style;
		  element.style.OTransform = style;
		  element.style.transform = style;
		}

		// main data arr
		ParaLib.paraArr = [];

  	// window properties
  	ParaLib.windowProps = {
			scrollTop    		: window.scrollY,
			windowHeight 		: window.innerHeight,
			windowMidHeight : window.innerHeight / 2,
  	}

		// updates ParaLib.windowProps variables
		ParaLib.updateWindowProps_OnRaf = function() {
			ParaLib.windowProps.scrollTop = window.scrollY;
		}

		// update windowprops on resize
		ParaLib.updateWindowProps_OnResize = function() {
			ParaLib.windowProps.scrollTop 			= window.scrollY;
			ParaLib.windowProps.windowHeight 		= window.innerHeight;
			ParaLib.windowProps.windowMidHeight = window.innerHeight / 2;
		}

		// calculte child padding
		ParaLib.calcChildPadding = function(containerObj, child) {
			var el 					= child.el;
			var paraFactor 	= child.paraFactor;
			var calc = ParaLib.windowProps.windowHeight - containerObj.offset + ParaLib.windowProps.scrollTop;
	    var y = calc / paraFactor;
			console.log(el, paraFactor, calc, y);

			return 1;
		}

		// init paraArr
		ParaLib.init = function(settings) {
			/*
				paraArr = [
					obj1 : {
						container: {
							el : element,
							offset : offsetTop,
							height : clientHeight
						},
						children : [
							child1 : {
								el 												: element,
								paraFactor : getAttr("paraFactor"),
							},
							child2 : {
								...
							}
						]
					},

					obj2 : {
						...
					}
				]
			*/
{'fraction_non_alphanumeric': 0.10816716744059, 'fraction_numerical': 0.0038240917782026767, 'mean_word_length': 2.3351548269581057, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6914198', 'n_tokens_mistral': 1551, 'n_tokens_neox': 1129, 'n_words': 214}