<commit_before>
"use strict";

let params = undefined;
let route = undefined;
let modal = undefined;
let _page = 1;
let filter = {};

/**
 * Default "list" controller. Usually good enough if all you need is a
 * clickable list of items in a Component.
 */
export default class ListController {

    /**
     * Class constructor.
     *
     * @return void
     */
    constructor() {
        if (!this.items) {
            this.page = _page;
        }
    }

    /**
     * Reset ("reload") the current page.
     *
     * @return void
     */
    reset() {
        route.reset();
        this.page = 1;
    }

    /**
     * Getter for the current page number.
     *
     * @return integer Current page number.
     */
    get page() {
        return _page;
    }

    /**
     * Setter for the current page. Automatically refreshes the current
     * Collection via the registered Manager.<commit_msg>fix docs<commit_after>
"use strict";

let params = undefined;
let route = undefined;
let modal = undefined;
let _page = 1;
let filter = {};

/**
 * Default "list" controller. Usually good enough if all you need is a
 * clickable list of items in a Component.
 */
export default class ListController {

    /**
     * Class constructor.
     *
     * @return void
     */
    constructor() {
        if (!this.items) {
            this.page = _page;
        }
    }

    /**
     * Reset ("reload") the current page.
     *
     * @return void
     */
    reset() {
        route.reset();
        this.page = 1;
    }

    /**
     * Getter for the current page number.
     *
     * @return integer Current page number.
     */
    get page() {
        return _page;
    }

    /**
     * Setter for the current page. Automatically refreshes the current
     * collection via the registered resource.
{'fraction_non_alphanumeric': 0.11197339246119734, 'fraction_numerical': 0.0022172949002217295, 'mean_word_length': 1.8203125, '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': '2933385', 'n_tokens_mistral': 524, 'n_tokens_neox': 510, 'n_words': 178}