Software /
code /
prosody-modules
Comparison
mod_candy/www_files/index.html @ 2440:7814a5c7fee8
mod_candy: Provide websocket URI if mod_websocket is loaded, fall back to BOSH
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 10 Jan 2017 14:11:56 +0100 |
parent | 2341:52dd2a51dac8 |
child | 2450:36ffe9d11132 |
comparison
equal
deleted
inserted
replaced
2439:1f7820f68868 | 2440:7814a5c7fee8 |
---|---|
11 <script type="text/javascript" src="libs.min.js"></script> | 11 <script type="text/javascript" src="libs.min.js"></script> |
12 <script type="text/javascript" src="candy.min.js"></script> | 12 <script type="text/javascript" src="candy.min.js"></script> |
13 <script type="text/javascript" src="prosody.js"></script><!-- Virtual file generated by mod_candy --> | 13 <script type="text/javascript" src="prosody.js"></script><!-- Virtual file generated by mod_candy --> |
14 <script type="text/javascript"> | 14 <script type="text/javascript"> |
15 $(document).ready(function() { | 15 $(document).ready(function() { |
16 Candy.init(Prosody.bosh_path, { | 16 Candy.init(Prosody.connect_path, { |
17 core: { | 17 core: { |
18 // only set this to true if developing / debugging errors | 18 // only set this to true if developing / debugging errors |
19 debug: false, | 19 debug: false, |
20 // autojoin is a *required* parameter if you don't have a plugin (e.g. roomPanel) for it | 20 // autojoin is a *required* parameter if you don't have a plugin (e.g. roomPanel) for it |
21 // true | 21 // true |