<commit_before>enyo.kind({
  name: 'questionSlideable',
  kind: "enyo.Slideable",
  classes: "pullout",
  style: "z-index: 10; position: absolute; right: -274px; top: 0;",
  unit: "%",
  min: -100,
  value: 0,
  onAnimateFinish: 'focusName',
  components: [
    {
      classes: "pullout-controls",
      components: [
        {
          content: 'Ask a Question:'
        },
        {
          kind: 'onyx.InputDecorator',
          classes: 'name-decorator',
          components: [
            {
              name: 'nameInput',
              kind: 'Input',
              placeholder: 'Please Enter Your Name'
            }
          ]
        },
        {
          kind: 'onyx.InputDecorator',
          components: [
            {
              name: 'questionInput',
              kind: 'TextArea',
              placeholder: 'Enter Your Question Here',
              onkeydown: 'returnPressed'
            }
          ]
        },
        {
          name: 'submitQuestionButton',
          kind: 'onyx.Button',
          classes: 'onyx-blue',
          content: 'Submit Question',
          onclick: 'submitQuestion'
        }
      ]
    },
    {
      kind: "onyx.Grabber",
      classes: "pullout-grabbutton"
    }
  ],

  submitQuestion: function(){
    // console.log('pressed');
    // console.log(this.owner.socket);
    var name = this.$.nameInput.getValue().trim()
      , question = this.$.questionInput.getValue().trim();
    if(name && question){
      this.owner.socket.emit('newQuestion', { name: name, question: question });
    }
  },

  returnPressed: function(inSender, inEvent){
    if(inEvent.keyCode === 13){
      this.submitQuestion();
    }
  }
});<commit_msg>Remove returnPressed thang<commit_after>enyo.kind({
  name: 'questionSlideable',
  kind: "enyo.Slideable",
  classes: "pullout",
  style: "z-index: 10; position: absolute; right: -274px; top: 0;",
  unit: "%",
  min: -100,
  value: 0,
  onAnimateFinish: 'focusName',
  components: [
    {
      classes: "pullout-controls",
      components: [
        {
          content: 'Ask a Question:'
        },
        {
          kind: 'onyx.InputDecorator',
          classes: 'name-decorator',
          components: [
            {
              name: 'nameInput',
              kind: 'Input',
              placeholder: 'Please Enter Your Name'
            }
          ]
        },
        {
          kind: 'onyx.InputDecorator',
          components: [
            {
              name: 'questionInput',
              kind: 'TextArea',
              placeholder: 'Enter Your Question Here',
              onkeydown: 'returnPressed'
            }
          ]
        },
        {
          name: 'submitQuestionButton',
          kind: 'onyx.Button',
          classes: 'onyx-blue',
          content: 'Submit Question',
          onclick: 'submitQuestion'
        }
      ]
    },
    {
      kind: "onyx.Grabber",
      classes: "pullout-grabbutton"
    }
  ],

  submitQuestion: function(){
    // console.log('pressed');
    // console.log(this.owner.socket);
    var name = this.$.nameInput.getValue().trim()
      , question = this.$.questionInput.getValue().trim();
    if(name && question){
      this.owner.socket.emit('newQuestion', { name: name, question: question });
    }
  },
});
{'fraction_non_alphanumeric': 0.14368340943683408, 'fraction_numerical': 0.006697108066971081, 'mean_word_length': 1.665044606650446, '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': '1041091', 'n_tokens_mistral': 994, 'n_tokens_neox': 970, 'n_words': 188}