blob: 87b8bd55d4c838aec80cb10cee0072243572c659 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Echo Conversations v{%=packageVersions.stable%} Demo</title>
</head>
<body>
<script type="text/javascript" src="http://cdn.echoenabled.com/sdk/v3/loader.js"></script>
<div id="container" style="margin: 0px auto; width: 50%; max-width: 440px;"></div>
<script type="text/javascript">
Echo.Loader.initApplication({
"script": "{%=baseURL%}/app.js",
"component": "Echo.Apps.Conversations",
"backplane": {
"serverBaseURL": "https://api.echoenabled.com/v1",
"busName": "jskit"
},
"config": {
"target": document.getElementById("container"),
"targetURL": "http://echoplatform.com/test/conversations",
"streamingControl": {
"displayStreamingStateHeader": true
},
"auth": {
"allowAnonymousSubmission": true
},
"allPosts": {
"moderation": {
"premoderation": {
"enable": true,
"approvedUserBypass": true
}
}
},
"dependencies": {
"Janrain": {"appId": "echo"},
"StreamServer": {"appkey": "echo.jssdk.demo.aboutecho.com"}
}
}
});
</script>
</body>
</html>