<commit_before>!function ($) {

	$.fn.TouchUI.scroll = {

		defaults: {
			iScroll: {
				scrollbars: true,
				mouseWheel: true,
				interactiveScrollbars: true,
				shrinkScrollbars: "scale",
				fadeScrollbars: true,
				disablePointer: true
			}
		},

		iScrolls: {},
		currentActive: null,

		beforeLoad: function() {

			// Manipulate DOM for iScroll before knockout binding kicks in
			if (!this.isTouch) {
				$('<div id="scroll"></div>').insertBefore('.page-container');
				$('.page-container').appendTo("#scroll");
			}

			// Create iScroll container for terminal anyway, we got styling on that
			var cont = $('<div id="terminal-scroll"></div>').insertBefore("#terminal-output");
			$("#terminal-output").appendTo(cont);

		},

		init: function() {
			var self = this;

			if ( this.isTouch ) {
				var width = $(window).width();

				// Covert VH to the initial height (prevent height from jumping when navigation bar hides/shows)
				$("#temperature-graph").height($("#temperature-graph").outerHeight());
				$("#terminal-scroll").height($("#terminal-scroll").outerHeight());
				$("#terminal-sendpanel").css("top", $("#terminal-scroll").outerHeight());

				$(window).on("resize", function() {

					if(width !== $(window).width()) {
						$("#temperature-graph").attr("style", "").height($("#temperature-graph").outerHeight());
						$("#terminal-scroll").attr("style", "").height($("#terminal-scroll").outerHeight());
						$("#terminal-sendpanel").attr("style", "").css("top", $("#terminal-scroll").outerHeight());
						width = $(window).width();
					}


				});

			} else {<commit_msg>Do not remove all styles with Touch ViewHeight calculator but only height<commit_after>!function ($) {

	$.fn.TouchUI.scroll = {

		defaults: {
			iScroll: {
				scrollbars: true,
				mouseWheel: true,
				interactiveScrollbars: true,
				shrinkScrollbars: "scale",
				fadeScrollbars: true,
				disablePointer: true
			}
		},

		iScrolls: {},
		currentActive: null,

		beforeLoad: function() {

			// Manipulate DOM for iScroll before knockout binding kicks in
			if (!this.isTouch) {
				$('<div id="scroll"></div>').insertBefore('.page-container');
				$('.page-container').appendTo("#scroll");
			}

			// Create iScroll container for terminal anyway, we got styling on that
			var cont = $('<div id="terminal-scroll"></div>').insertBefore("#terminal-output");
			$("#terminal-output").appendTo(cont);

		},

		init: function() {
			var self = this;

			if ( this.isTouch ) {
				var width = $(window).width();

				// Covert VH to the initial height (prevent height from jumping when navigation bar hides/shows)
				$("#temperature-graph").height($("#temperature-graph").outerHeight());
				$("#terminal-scroll").height($("#terminal-scroll").outerHeight());
				$("#terminal-sendpanel").css("top", $("#terminal-scroll").outerHeight()-1);

				$(window).on("resize", function() {

					if(width !== $(window).width()) {
						$("#temperature-graph").css("height", "").height($("#temperature-graph").outerHeight());
						$("#terminal-scroll").css("height", "").height($("#terminal-scroll").outerHeight());
						$("#terminal-sendpanel").css("top", $("#terminal-scroll").outerHeight()-1);
						width = $(window).width();
					}


				});

			} else {
{'fraction_non_alphanumeric': 0.20784794604537093, 'fraction_numerical': 0.0006131207847946045, 'mean_word_length': 3.77046783625731, 'pattern_counts': {'":': 0, '<': 11, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6072763', 'n_tokens_mistral': 1198, 'n_tokens_neox': 936, 'n_words': 196}