<commit_before>export class NotificationService {

    constructor() {
        this.notificationBlinkInterval = 4000;
        this.pageTitle = window.document.title;
        this.botName;
        this.notificationTimer;
        window.document.addEventListener('visibilitychange', this._onVisibilityChange);
    }

    _onVisibilityChange() {
        if (window.document.hidden) {//if tab is being hidden
            return;
        }

        this._clearTimer()

        if (this.pageTitle) {
            this._changeWindowTitle(this.pageTitle);
        }<commit_msg>Fix this context problem<commit_after>export class NotificationService {

    constructor() {
        this.notificationBlinkInterval = 4000;
        this.pageTitle = window.document.title;
        this.botName;
        this.notificationTimer;
        window.document.addEventListener('visibilitychange', () => { this._onVisibilityChange(); });
    }

    _onVisibilityChange() {
        if (window.document.hidden) {//if tab is being hidden
            return;
        }

        this._clearTimer()

        if (this.pageTitle) {
            this._changeWindowTitle(this.pageTitle);
        }
{'fraction_non_alphanumeric': 0.10086206896551723, 'fraction_numerical': 0.006896551724137931, 'mean_word_length': 2.336206896551724, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '946643', 'n_tokens_mistral': 310, 'n_tokens_neox': 288, 'n_words': 53}