<commit_before>App.BbFlashComponent = Em.Component.extend({

});

App.BbFormFieldComponent = Em.Component.extend({

});

App.BbTextFieldComponent = App.BbFormFieldComponent.extend({
    type: 'text'
});

App.BbTextAreaComponent = App.BbFormFieldComponent.extend({

  didInsertElement: function(){
    var el = this.$('textarea.redactor');
    var view = this;
    $(el).redactor({
        buttons: ['html', 'bold', 'italic', 'deleted', 'unorderedlist', 'orderedlist', 'link', 'horizontalrule'],
        blurCallback: function(e){
            $(el).val(view.$('.redactor').redactor('get'));
            $(el).trigger('change');
        }
    });
    $(el).redactor('insertHtml', view.get('value'));
  }
});

App.BbMapPickerComponent = App.BbFormFieldComponent.extend({
});

App.BbDatePickerComponent = App.BbFormFieldComponent.extend({
});

App.BbDatePickerSliderComponent = App.BbFormFieldComponent.extend({
});



App.BbUploadImageComponent = App.BbFormFieldComponent.extend({
    accept: 'image/*',
    buttonLabel: 'Upload image'<commit_msg>added min-height redactor<commit_after>App.BbFlashComponent = Em.Component.extend({

});

App.BbFormFieldComponent = Em.Component.extend({

});

App.BbTextFieldComponent = App.BbFormFieldComponent.extend({
    type: 'text'
});

App.BbTextAreaComponent = App.BbFormFieldComponent.extend({

  didInsertElement: function(){
    var el = this.$('textarea.redactor');
    var view = this;
    $(el).redactor({
        buttons: ['html', 'bold', 'italic', 'deleted', 'unorderedlist', 'orderedlist', 'link', 'horizontalrule'],
        minHeight: 150,
        blurCallback: function(e){
            $(el).val(view.$('.redactor').redactor('get'));
            $(el).trigger('change');
        }
    });
    $(el).redactor('insertHtml', view.get('value'));
  }
});

App.BbMapPickerComponent = App.BbFormFieldComponent.extend({
});

App.BbDatePickerComponent = App.BbFormFieldComponent.extend({
});

App.BbDatePickerSliderComponent = App.BbFormFieldComponent.extend({
});



App.BbUploadImageComponent = App.BbFormFieldComponent.extend({
    accept: 'image/*',
    buttonLabel: 'Upload image'
{'fraction_non_alphanumeric': 0.1746704331450094, 'fraction_numerical': 0.0014124293785310734, 'mean_word_length': 4.208333333333333, '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': '5904528', 'n_tokens_mistral': 682, 'n_tokens_neox': 672, 'n_words': 97}