<commit_before>// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
// See License.txt for license information.

var ChannelStore = require('../stores/channel_store.jsx');
var UserStore = require('../stores/user_store.jsx');
var Client = require('../utils/client.jsx');
var AsyncClient = require('../utils/async_client.jsx');

var MemberListTeamItem = React.createClass({
    handleMakeMember: function() {
        var data = {};
        data["user_id"] = this.props.user.id;
        data["new_roles"] = "";

        Client.updateRoles(data,
            function(data) {
                AsyncClient.getProfiles();
            }.bind(this),
            function(err) {
                this.setState({ server_error: err.message });
            }.bind(this)
        );
    },
    handleMakeActive: function() {<commit_msg>quick fix to get manage team modal working again<commit_after>// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
// See License.txt for license information.

var ChannelStore = require('../stores/channel_store.jsx');
var UserStore = require('../stores/user_store.jsx');
var Client = require('../utils/client.jsx');
var AsyncClient = require('../utils/async_client.jsx');
var utils = require('../utils/utils.jsx');

var MemberListTeamItem = React.createClass({
    handleMakeMember: function() {
        var data = {};
        data["user_id"] = this.props.user.id;
        data["new_roles"] = "";

        Client.updateRoles(data,
            function(data) {
                AsyncClient.getProfiles();
            }.bind(this),
            function(err) {
                this.setState({ server_error: err.message });
            }.bind(this)
        );
    },
    handleMakeActive: function() {
{'fraction_non_alphanumeric': 0.15104166666666666, 'fraction_numerical': 0.004629629629629629, 'mean_word_length': 2.5142276422764227, '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': '7047189', 'n_tokens_mistral': 511, 'n_tokens_neox': 493, 'n_words': 105}