<commit_before>Flame.FocusSupport = {
    // To make text fields/areas behave consistently with our concept of key responder, we have to also
    // tell the browser to focus/blur the input field
    didBecomeKeyResponder: function() {
        this.$().focus();
    },

    didLoseKeyResponder: function() {
        this.$().blur();
    },

    focusIn: function() {
        if (Flame.keyResponderStack.current() !== this) {
            this.becomeKeyResponder();
        }
    },

    focusOut: function() {<commit_msg>The element might not be there anymore when it loses keyresponder status.<commit_after>Flame.FocusSupport = {
    // To make text fields/areas behave consistently with our concept of key responder, we have to also
    // tell the browser to focus/blur the input field
    didBecomeKeyResponder: function() {
        var $element = this.$();
        if ($element) $element.focus();
    },

    didLoseKeyResponder: function() {
        var $element = this.$();
        if ($element) $element.blur();
    },

    focusIn: function() {
        if (Flame.keyResponderStack.current() !== this) {
            this.becomeKeyResponder();
        }
    },

    focusOut: function() {
{'fraction_non_alphanumeric': 0.12311557788944724, 'fraction_numerical': 0.0, 'mean_word_length': 2.5250737463126844, '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': '7355865', 'n_tokens_mistral': 353, 'n_tokens_neox': 333, 'n_words': 99}