<commit_before>RegisterView = Backbone.View.extend({

	initialize: function(){

		this.render();
	},

	render: function() {

		var that = this;
		
		$.get('/js/templates/registerTemplate.html', function(data){
			template = _.template(data, {});
			that.$el.html(template);
		}, 'html');
		
	},
	
	events: {
    	"click #registerBtn": "register"
    },

	/*
	 * This function is called when anybody creates a comment
	 */
	register: function(event) {		
			
		console.log('Try to register');
				
		// Creates details of a comment with typed in values
		var inputRegister = readInputForRegister();
			
		var userRegister = new UserRegister();
			
		userRegisterController(userRegister, inputRegister);
		}<commit_msg>Removed one ambigious bracket.<commit_after>RegisterView = Backbone.View.extend({

	initialize: function(){

		this.render();
	},

	render: function() {

		var that = this;
		
		$.get('/js/templates/registerTemplate.html', function(data){
			template = _.template(data, {});
			that.$el.html(template);
		}, 'html');
		
	},
	
	events: {
    	"click #registerBtn": "register"
    },

	/*
	 * This function is called when anybody creates a comment
	 */
	register: function(event) {		
			
		console.log('Try to register');
				
		// Creates details of a comment with typed in values
		var inputRegister = readInputForRegister();
			
		var userRegister = new UserRegister();
			
		userRegisterController(userRegister, inputRegister);
{'fraction_non_alphanumeric': 0.1370242214532872, 'fraction_numerical': 0.0, 'mean_word_length': 3.408536585365854, 'pattern_counts': {'":': 2, '<': 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': '6166827', 'n_tokens_mistral': 495, 'n_tokens_neox': 409, 'n_words': 107}