<commit_before>/*
   Copyright (c) 2007-9, iUI Project Members
   See LICENSE.txt for licensing terms
 */


(function() {

var slideSpeed = 20;
var slideInterval = 0;

var currentPage = null;
var currentDialog = null;
var currentWidth = 0;
var currentHash = location.hash;
var hashPrefix = "#_";
var pageHistory = [];
var newPageCount = 0;
var checkTimer;
var hasOrientationEvent = false;
var portraitVal = "portrait";
var landscapeVal = "landscape";

// *************************************************************************************************

window.iui =
{
	animOn: true,	// TG

	showPage: function(page, backwards)
	{
		if (page)
		{
			if (window.iui_ext)	window.iui_ext.injectEventMethods(page);	// TG
			
			if (currentDialog)
			{
				currentDialog.removeAttribute("selected");
				// EVENT blur->currentDialog
				sendEvent("blur", currentDialog);
				currentDialog = null;
			}

			if (hasClass(page, "dialog"))
			{<commit_msg>Remove TG comment from 'animOn: true' line<commit_after>/*
   Copyright (c) 2007-9, iUI Project Members
   See LICENSE.txt for licensing terms
 */


(function() {

var slideSpeed = 20;
var slideInterval = 0;

var currentPage = null;
var currentDialog = null;
var currentWidth = 0;
var currentHash = location.hash;
var hashPrefix = "#_";
var pageHistory = [];
var newPageCount = 0;
var checkTimer;
var hasOrientationEvent = false;
var portraitVal = "portrait";
var landscapeVal = "landscape";

// *************************************************************************************************

window.iui =
{
	animOn: true,

	showPage: function(page, backwards)
	{
		if (page)
		{
			if (window.iui_ext)	window.iui_ext.injectEventMethods(page);	// TG
			
			if (currentDialog)
			{
				currentDialog.removeAttribute("selected");
				// EVENT blur->currentDialog
				sendEvent("blur", currentDialog);
				currentDialog = null;
			}

			if (hasClass(page, "dialog"))
			{
{'fraction_non_alphanumeric': 0.21439749608763695, 'fraction_numerical': 0.010432968179447054, 'mean_word_length': 4.254794520547946, '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': '7092803', 'n_tokens_mistral': 668, 'n_tokens_neox': 567, 'n_words': 153}