<commit_before>define([
	"ember",
	"text!templates/application.html.hbs",
	"gui/selectable",
	"gui/smoothscroll"
], function( Ember, template, guiSelectable, guiSmoothscroll ) {

	return Ember.View.extend({
		template: Ember.HTMLBars.compile( template ),
		tagName: "body",
		classNames: [ "wrapper", "vertical" ],

		willInsertElement: function() {
			document.documentElement.removeChild( document.body );
		},

		didInsertElement: function() {
			this._super();
			guiSelectable();
			guiSmoothscroll();
		}
	});

});<commit_msg>Refresh routes by pressing F5 or Ctrl+R. Close #85<commit_after>define([
	"ember",
	"text!templates/application.html.hbs",
	"gui/selectable",
	"gui/smoothscroll"
], function( Ember, template, guiSelectable, guiSmoothscroll ) {

	return Ember.View.extend({
		template: Ember.HTMLBars.compile( template ),
		tagName: "body",
		classNames: [ "wrapper", "vertical" ],

		willInsertElement: function() {
			document.documentElement.removeChild( document.body );
		},

		didInsertElement: function() {
			guiSelectable();
			guiSmoothscroll();

			document.documentElement.addEventListener( "keyup", function( e ) {
				var f5    = e.keyCode === 116;
				var ctrlR = e.keyCode ===  82 && e.ctrlKey === true;
				if ( f5 || ctrlR ) {
					this.get( "controller" ).send( "refresh" );
				}
			}.bind( this ), false );
		}
	});

});
{'fraction_non_alphanumeric': 0.16383763837638377, 'fraction_numerical': 0.007380073800738007, 'mean_word_length': 4.1169811320754715, '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': '1986359', 'n_tokens_mistral': 517, 'n_tokens_neox': 449, 'n_words': 89}