<commit_before>import Ember from 'ember';
import Config from '../configuration';

export default Ember.Component.extend({
    current: Ember.inject.service('current-routed-modal'),
    classNames: Config.modalClassNames,
    style: 'display: block; padding-left: 0px;',
    tabindex: '-1',
    role: 'dialog',
    attributeBindings: ['style', 'tabindex', 'role'],
    click(event) {
        if (typeof this.$ !== 'undefined') {
            const target = event.target;
            const thisEl = this.$()[0];

            if (target === thisEl || this.$(target).parent()[0] === thisEl) {
                this.get('current').close();
            }
        }
    }
});
<commit_msg>Fix CSS bindings warning<commit_after>import Ember from 'ember';
import Config from '../configuration';

export default Ember.Component.extend({
    current: Ember.inject.service('current-routed-modal'),
    classNames: Config.modalClassNames,
    style: Ember.String.htmlSafe('display: block; padding-left: 0px;'),
    tabindex: '-1',
    role: 'dialog',
    attributeBindings: ['style', 'tabindex', 'role'],
    click(event) {
        if (typeof this.$ !== 'undefined') {
            const target = event.target;
            const thisEl = this.$()[0];

            if (target === thisEl || this.$(target).parent()[0] === thisEl) {
                this.get('current').close();
            }
        }
    }
});

{'fraction_non_alphanumeric': 0.1724137931034483, 'fraction_numerical': 0.005747126436781609, 'mean_word_length': 2.5902061855670104, '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': '3591439', 'n_tokens_mistral': 408, 'n_tokens_neox': 398, 'n_words': 93}