<commit_before>var Alloy = require('alloy'),
	Backbone = Alloy.Backbone,
	_ = Alloy._,
	A$ = Alloy.A,
	arguments,
	$;

module.exports = Alloy.getController('BaseController').extend({
	__init: function(args) {
		$ = _.extend(this, $);
		arguments = args;
	},
	preLayout: <%= preLayoutCode %>
	,
	__layout: function() {
		<%= viewCode %>
	},
	__postLayout: function() {
		<%= controllerCode %>
	}
});<commit_msg>no lifecycle, flattened controllers, inheritance going to be done in markup<commit_after>var Alloy = require('alloy'),
	Backbone = Alloy.Backbone,
	_ = Alloy._,
	A$ = Alloy.A,
	$;

function Controller() {
	Alloy.getController('BaseController').call(this);
	$ = this;

	<%= viewCode %>

	<%= controllerCode %>
}

module.exports = Controller;

/*
< % = initFunction %>

var __class = init();
__class || (__class = Alloy.getController('BaseController'));

module.exports = __class.extend({
	__init: function() {
		$ = this;
	},
	__layout: function() {
		< % = viewCode %>
	},
	__postLayout: function() {
		< % = controllerCode %>
	}
});
*/
{'fraction_non_alphanumeric': 0.18451242829827916, 'fraction_numerical': 0.0, 'mean_word_length': 4.208955223880597, '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': '2821675', 'n_tokens_mistral': 399, 'n_tokens_neox': 370, 'n_words': 68}