<commit_before>import ItemUrlMixin from 'appkit/mixins/item_url';
import ItemClassesMixin from 'appkit/mixins/item_classes';

var ClassItemDetailComponent = Ember.Component.extend(ItemUrlMixin, ItemClassesMixin, {
  content:     Em.computed.alias('item'),
  type:        Em.computed.alias('item.itemtype'),
  name:        Em.computed.alias('item.name'),
  params:      Em.computed.alias('item.params'),
  returnType:  Em.computed.alias('item.return.type'),
  returnDescription:  Em.computed.alias('item.return.description'),
  deprecated:  Em.computed.alias('item.deprecated'),
  access:      Em.computed.alias('item.access'),
  final: Em.computed.alias('item.final'),
  static: Em.computed.alias('item.static'),
  optional: Em.computed.alias('item.optional'),
  required: Em.computed.alias('item.required'),
  overwrittenFromClass: Em.computed.alias('item.overwritten_from.class'),
  file: Em.computed.alias('item.file'),
  extendedFrom: Em.computed.alias('item.extended_from'),
  since: Em.computed.alias('item.since'),
  description: Em.computed.alias('item.description'),
  default: Em.computed.alias('item.default'),
  example: Em.computed.alias('item.example'),

  additionalItemClasses: 'item-entry',

  paramsListing: function(){
    var params = this.get('params');

    if (!params || params.length === 0)
      return;

    return params.mapBy('name').join(', ');
  }.property('params'),
});

export default ClassItemDetailComponent;<commit_msg>Fixup formatting of ApiClass model.<commit_after>import ItemUrlMixin from 'appkit/mixins/item_url';
import ItemClassesMixin from 'appkit/mixins/item_classes';

var ClassItemDetailComponent = Ember.Component.extend(ItemUrlMixin, ItemClassesMixin, {
  content:               Em.computed.alias('item'),
  type:                  Em.computed.alias('item.itemtype'),
  name:                  Em.computed.alias('item.name'),
  params:                Em.computed.alias('item.params'),
  returnType:            Em.computed.alias('item.return.type'),
  returnDescription:     Em.computed.alias('item.return.description'),
  deprecated:            Em.computed.alias('item.deprecated'),
  access:                Em.computed.alias('item.access'),
  final:                 Em.computed.alias('item.final'),
  static:                Em.computed.alias('item.static'),
  optional:              Em.computed.alias('item.optional'),
  required:              Em.computed.alias('item.required'),
  overwrittenFromClass:  Em.computed.alias('item.overwritten_from.class'),
  file:                  Em.computed.alias('item.file'),
  extendedFrom:          Em.computed.alias('item.extended_from'),
  since:                 Em.computed.alias('item.since'),
  description:           Em.computed.alias('item.description'),
  default:               Em.computed.alias('item.default'),
  example:               Em.computed.alias('item.example'),

  additionalItemClasses: 'item-entry',

  paramsListing: function(){
    var params = this.get('params');

    if (!params || params.length === 0)
      return;

    return params.mapBy('name').join(', ');
  }.property('params'),
});

export default ClassItemDetailComponent;
{'fraction_non_alphanumeric': 0.15421303656597773, 'fraction_numerical': 0.0006359300476947536, 'mean_word_length': 3.4624113475177305, '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': '1668493', 'n_tokens_mistral': 955, 'n_tokens_neox': 935, 'n_words': 139}