<commit_before>import Composite from './Composite';
import NativeObject from '../NativeObject';

export default class RefreshComposite extends Composite {

  get _nativeType() {
    return 'tabris.RefreshComposite';
  }

  _listen(name, listening) {
    if (name === 'refresh') {
      this._nativeListen(name, listening);
    } else {
      super._listen(name, listening);
    }
  }

}

NativeObject.defineProperties(RefreshComposite.prototype, {

  refreshEnabled: {
    type: 'boolean',
    default: false
  },
  refreshIndicator: {
    type: 'boolean',
    nocache: true
  },
  refreshMessage: {
    type: 'string',
    default: ''
  }

});
<commit_msg>Make refreshEnabled true by default on RefreshComposite<commit_after>import Composite from './Composite';
import NativeObject from '../NativeObject';

export default class RefreshComposite extends Composite {

  get _nativeType() {
    return 'tabris.RefreshComposite';
  }

  _listen(name, listening) {
    if (name === 'refresh') {
      this._nativeListen(name, listening);
    } else {
      super._listen(name, listening);
    }
  }

}

NativeObject.defineProperties(RefreshComposite.prototype, {

  refreshEnabled: {
    type: 'boolean',
    default: true
  },
  refreshIndicator: {
    type: 'boolean',
    nocache: true
  },
  refreshMessage: {
    type: 'string',
    default: ''
  }

});

{'fraction_non_alphanumeric': 0.12693726937269373, 'fraction_numerical': 0.0, 'mean_word_length': 3.360128617363344, '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': '511153', 'n_tokens_mistral': 415, 'n_tokens_neox': 410, 'n_words': 92}