<commit_before>class init 

	vizNames = ['Taxonomy Bar Chart', 'Bubble Chart', 'Sankey Diagram', 'Donut Partition', 'Attributes Column Chart']

	constructor: (page) ->
		console.log page
		if (@mobilecheck()) # Check if it's mobile.If so, hide the features, just display info
			$('body').css({'min-width': window.screen.width});
			$('#NotSupported').css({'width': window.screen.width, 'display': 'block', 'margin': '0'});
			$('#NotSupported p').html('Desktop Chrome Recommended!');
			$('#NotSupported h1, .pageName, #bottom_sec, #menu, #help, .orange_btn, #viz_container, #readFile, #recent, .footer_copyright span, #graphNameCont, .descPara img').hide();
			$('.footer_copyright').css({'font-size': '8px', 'line-height': '16px', 'width': '300px'});
			$('#top_sec').height(50);
			$('#about').css({'width': window.screen.width - 40, 'margin': ' -220px 20px 0px 20px'});
			$('.descPara').height('auto');
			$('#GraphGallery').width(300);
			$( "#GraphGallery .col3").width(window.screen.width - 30);
		else if ( ( !navigator.userAgent.match(/Chrome/i) && !navigator.userAgent.match(/Firefox/i) && !navigator.userAgent.match(/Safari/) ) || !window.File || !window.FileReader || !window.FileList || !window.Blob )
			$('#NotSupported').show();
			$('#top_sec').height(50);
			$('#viz_container, #bottom_sec, .pageName, hr, .orange_btn, #readFile, #recent, #graphNameCont').hide();
			alert('Your browser does not support the Phinch framework. We recommended using a recent version of Chrome, Firefox, or Safari');
		else
			@helpMenu()
			switch page
				when 'home' then new readFile()
				when 'preview' then new filter();
				when 'viz' then @viz()
<commit_msg>removing user agent checks, just looking for browser features now<commit_after>class init 

	vizNames = ['Taxonomy Bar Chart', 'Bubble Chart', 'Sankey Diagram', 'Donut Partition', 'Attributes Column Chart']

	constructor: (page) ->
		console.log page
		if (@mobilecheck()) # Check if it's mobile.If so, hide the features, just display info
			$('body').css({'min-width': window.screen.width});
			$('#NotSupported').css({'width': window.screen.width, 'display': 'block', 'margin': '0'});
			$('#NotSupported p').html('Desktop Chrome Recommended!');
			$('#NotSupported h1, .pageName, #bottom_sec, #menu, #help, .orange_btn, #viz_container, #readFile, #recent, .footer_copyright span, #graphNameCont, .descPara img').hide();
			$('.footer_copyright').css({'font-size': '8px', 'line-height': '16px', 'width': '300px'});
			$('#top_sec').height(50);
			$('#about').css({'width': window.screen.width - 40, 'margin': ' -220px 20px 0px 20px'});
			$('.descPara').height('auto');
			$('#GraphGallery').width(300);
			$( "#GraphGallery .col3").width(window.screen.width - 30);
		else if ( !window.File || !window.FileReader || !window.FileList || !window.Blob )
			# ( !navigator.userAgent.match(/Chrome/i) && !navigator.userAgent.match(/Firefox/i) && !navigator.userAgent.match(/Safari/) )
			$('#NotSupported').show();
			$('#top_sec').height(50);
			$('#viz_container, #bottom_sec, .pageName, hr, .orange_btn, #readFile, #recent, #graphNameCont').hide();
			alert('Your browser does not support the Phinch framework. We recommended using a recent version of Chrome, Firefox, or Safari');
		else
			@helpMenu()
			switch page
				when 'home' then new readFile()
				when 'preview' then new filter();
				when 'viz' then @viz()

{'fraction_non_alphanumeric': 0.20188902007083825, 'fraction_numerical': 0.01652892561983471, 'mean_word_length': 4.8939130434782605, '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': '1017251', 'n_tokens_mistral': 1236, 'n_tokens_neox': 1097, 'n_words': 279}