{"size": 604, "ext": "js", "max_stars_repo_path": "links/static/links/js/reply.js", "max_stars_repo_name": "aligholami/jaryan", "max_stars_repo_stars_event_min_datetime": "2016-04-07T14:16:40.000Z", "max_stars_repo_stars_event_max_datetime": "2017-06-16T08:49:11.000Z", "max_issues_repo_path": "links/static/links/js/reply.js", "max_issues_repo_name": "aligholami/jaryan", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "links/static/links/js/reply.js", "max_forks_repo_name": "aligholami/jaryan", "max_forks_repo_forks_event_min_datetime": "2017-05-28T22:04:23.000Z", "max_forks_repo_forks_event_max_datetime": "2017-05-28T22:04:23.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 27.4545454545, "max_line_length": 66, "alphanum_fraction": 0.5579470199}
jQuery(document).ready(function($) 
    {
    function show_reply_form(event) {
        var $this = $(this);
        var comment_id = $this.data('comment-id');

        $('#id_parent').val(comment_id);
        $('#form-comment').insertAfter($this.closest('.comment'));
    };

    function cancel_reply_form(event) {
        $('#id_comment').val('');
        $('#id_parent').val('');
        $('#form-comment').appendTo($('#wrap_write_comment'));
    }

    $.fn.ready(function() {
        $('.comment_reply_link').click(show_reply_form);
        $('#cancel_reply').click(cancel_reply_form);
    });
});
