<NME> message.js.jsx
<BEF> /** @jsx React.DOM */

var Message = React.createClass({
  render: function() {
    return (
      <div className="message">
        <div className="message-header">
          <span className="pull-right text-muted">
            {this.created()}
          </span>
          <Avatar person={this.props.person} size="20" />
          <Person person={this.props.person} />
  },

  content: function() {
    if(('preview' in this.props) && this.props.preview) {
      return this.previewContent();
    } else {
      return this.markdownContent();
    }
  },

  markdownContent: function() {
    var converter = new Showdown.converter();
    return converter.makeHtml(this.props.content);
  },

  previewContent: function() {
    return $(this.markdownContent()).text();
  }
});
  created: function() {
    return moment(this.props.created).format(CONSTANTS.dateFormat);
  },

  content: function() {
    var converter = new Showdown.converter();
    return converter.makeHtml(this.props.content);
  }
});

<MSG> Improve spacing of conversations

<DFF> @@ -13,19 +13,7 @@ var Message = React.createClass({
   },
 
   content: function() {
-    if(('preview' in this.props) && this.props.preview) {
-      return this.previewContent();
-    } else {
-      return this.markdownContent();
-    }
-  },
-
-  markdownContent: function() {
     var converter = new Showdown.converter();
     return converter.makeHtml(this.props.content);
-  },
-
-  previewContent: function() {
-    return $(this.markdownContent()).text();
   }
 });

{'addition_count': 0, 'commit_subject': 'Improve spacing of conversations', 'deletion_count': 12, 'file_extension': '.jsx', 'lang': 'js', 'license': 'agpl-3.0', 'repo_name': 'asm-helpful/helpful-web'}