<commit_before>/*   Copyright (c) 2010, Diaspora Inc.  This file is
 *   licensed under the Affero General Public License version 3 or later.  See
 *   the COPYRIGHT file.
 */

var Stream = {
  selector: "#main_stream",

  initialize: function() {
    console.log(this);

    Diaspora.widgets.timeago.updateTimeAgo();
    Diaspora.widgets.directionDetector.updateBinds();

    $(".status_message_delete").tipsy({
      trigger: "hover",
      gravity: "n"
    });

    $("a.show_post_comments:not(.show)", this.selector).click(Stream.toggleComments);

    //audio links
    Stream.setUpAudioLinks();
    //Stream.setUpImageLinks();


    console.log(this, $(".focus_comment_textarea").length, $(".focus_comment_textarea", this.selector), this.selector);
    // comment link form focus
    $(".focus_comment_textarea", this.selector).click(function(evt) {
      Stream.focusNewComment($(this), evt);
    });

    $("textarea.comment_box", this.selector).bind("focus blur", function(evt) {<commit_msg>Remove console.logs<commit_after>/*   Copyright (c) 2010, Diaspora Inc.  This file is
 *   licensed under the Affero General Public License version 3 or later.  See
 *   the COPYRIGHT file.
 */

var Stream = {
  selector: "#main_stream",

  initialize: function() {
    Diaspora.widgets.timeago.updateTimeAgo();
    Diaspora.widgets.directionDetector.updateBinds();

    $(".status_message_delete").tipsy({
      trigger: "hover",
      gravity: "n"
    });

    $("a.show_post_comments:not(.show)", this.selector).click(Stream.toggleComments);

    //audio links
    Stream.setUpAudioLinks();
    //Stream.setUpImageLinks();

    // comment link form focus
    $(".focus_comment_textarea", this.selector).click(function(evt) {
      Stream.focusNewComment($(this), evt);
    });

    $("textarea.comment_box", this.selector).bind("focus blur", function(evt) {
{'fraction_non_alphanumeric': 0.15277030661646046, 'fraction_numerical': 0.0053792361484669175, 'mean_word_length': 3.6733668341708543, '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': '2107064', 'n_tokens_mistral': 602, 'n_tokens_neox': 565, 'n_words': 117}