<commit_before>'use strict';

module.exports = {
	template: require('./template.html'),
	data: function () {
		return {
			limit: 0,
			offset: 0,
			total_count: 0
		};
	},
	methods: {
		setPage: function (page) {
			if (page < 1 || page > this.pageCount || page === this.current) {
				return;
			}

			console.log('set page: ' + page);
			this.$dispatch('page-changed', {
				limit: this.limit,
				offset: this.limit * (page - 1)
			});
		},
		first: function () {
			this.setPage(1);
		},
		previousPage: function () {
			this.setPage(this.current - 1);<commit_msg>Remove a log statement from the pagination component<commit_after>'use strict';

module.exports = {
	template: require('./template.html'),
	data: function () {
		return {
			limit: 0,
			offset: 0,
			total_count: 0
		};
	},
	methods: {
		setPage: function (page) {
			if (page < 1 || page > this.pageCount || page === this.current) {
				return;
			}

			this.$dispatch('page-changed', {
				limit: this.limit,
				offset: this.limit * (page - 1)
			});
		},
		first: function () {
			this.setPage(1);
		},
		previousPage: function () {
			this.setPage(this.current - 1);
{'fraction_non_alphanumeric': 0.17513134851138354, 'fraction_numerical': 0.012259194395796848, 'mean_word_length': 2.8484848484848486, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1063544', 'n_tokens_mistral': 478, 'n_tokens_neox': 393, 'n_words': 89}