<commit_before>import LlamaBodyCell from 'llama-table/views/llama-body-cell';
var gt = Em.computed.gt;

var ButtonCell = LlamaBodyCell.extend({
	showButton: gt('row.contentIndex', -1),
	layoutName: 'button-cell',
	actions: {
		click: function () {
			var controller = this.get('controller');
			var rows = controller.get('rows');
			var row = this.get('content.model');
			var index = rows.indexOf(row);
			controller.sendAction(this.get('actionName'), index);
		}
	}
});

export default ButtonCell;<commit_msg>Fixed linting issue<commit_after>import Em from 'ember';
import LlamaBodyCell from 'llama-table/views/llama-body-cell';
var gt = Em.computed.gt;

var ButtonCell = LlamaBodyCell.extend({
	showButton: gt('row.contentIndex', -1),
	layoutName: 'button-cell',
	actions: {
		click: function () {
			var controller = this.get('controller');
			var rows = controller.get('rows');
			var row = this.get('content.model');
			var index = rows.indexOf(row);
			controller.sendAction(this.get('actionName'), index);
		}
	}
});

export default ButtonCell;
{'fraction_non_alphanumeric': 0.15874524714828897, 'fraction_numerical': 0.0019011406844106464, 'mean_word_length': 4.691891891891892, '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': '3936335', 'n_tokens_mistral': 378, 'n_tokens_neox': 348, 'n_words': 75}