<commit_before>import Ember from 'ember';
import FormGroupComponent from './em-form-group';
import ControlMixin from 'ember-rapid-forms/mixins/control';

/*
Form Text Area

Syntax:
{{em-text property="property name" rows=4 cols=40}}
 */
export default FormGroupComponent.extend({
  controlView: Ember.TextArea.extend(ControlMixin, {
    attributeBindings: ['placeholder', 'required', 'autofocus', 'disabled'],
    placeholder: Ember.computed.alias('mainComponent.placeholder'),
    model: Ember.computed.alias('mainComponent.model'),
    propertyName: Ember.computed.alias('mainComponent.propertyName'),
    rows: Ember.computed.alias('mainComponent.rows'),
    cols: Ember.computed.alias('mainComponent.cols'),
    disabled: Ember.computed.alias('mainComponent.disabled')
  }),
  property: null,
  label: null,
  placeholder: null,
  rows: null,
  cols: null,
  disabled: null,
  controlWrapper: Ember.computed('form.formLayout', function() {
    if (this.get('form.formLayout') === 'horizontal') {
      return 'col-sm-10';
    }
    return null;
  })
});
<commit_msg>Removed unnecessary line<commit_after>import Ember from 'ember';
import FormGroupComponent from './em-form-group';
import ControlMixin from 'ember-rapid-forms/mixins/control';

/*
Form Text Area

Syntax:
{{em-text property="property name" rows=4 cols=40}}
 */
export default FormGroupComponent.extend({
  controlView: Ember.TextArea.extend(ControlMixin, {
    placeholder: Ember.computed.alias('mainComponent.placeholder'),
    model: Ember.computed.alias('mainComponent.model'),
    propertyName: Ember.computed.alias('mainComponent.propertyName'),
    rows: Ember.computed.alias('mainComponent.rows'),
    cols: Ember.computed.alias('mainComponent.cols'),
    disabled: Ember.computed.alias('mainComponent.disabled')
  }),
  property: null,
  label: null,
  placeholder: null,
  rows: null,
  cols: null,
  disabled: null,
  controlWrapper: Ember.computed('form.formLayout', function() {
    if (this.get('form.formLayout') === 'horizontal') {
      return 'col-sm-10';
    }
    return null;
  })
});

{'fraction_non_alphanumeric': 0.14995178399228543, 'fraction_numerical': 0.0048216007714561235, 'mean_word_length': 4.79608938547486, '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': '5688637', 'n_tokens_mistral': 650, 'n_tokens_neox': 641, 'n_words': 127}