summaryrefslogtreecommitdiffstats
path: root/web/react/pages/signup_team.jsx
blob: e9e803aa42f4aa45ec8d192d1a9277d2b42fb927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
// See License.txt for license information.

var SignupTeam = require('../components/signup_team.jsx');

var AsyncClient = require('../utils/async_client.jsx');

function setupSignupTeamPage(authServices) {
    AsyncClient.getConfig();

    var services = JSON.parse(authServices);

    React.render(
        <SignupTeam services={services} />,
        document.getElementById('signup-team')
    );
}

global.window.setup_signup_team_page = setupSignupTeamPage;