Mercurial > prosody-modules
comparison mod_candy/www_files/index.html @ 1864:991a5f74f848
mod_candy: Update to work with a stable release instead of git (which no longer works)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 19 Sep 2015 16:51:16 +0200 |
parents | 674d045a9623 |
children | 52dd2a51dac8 |
comparison
equal
deleted
inserted
replaced
1863:92602cfac751 | 1864:991a5f74f848 |
---|---|
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <title>Candy - Powered by Prosŏdy</title> | 5 <title>Candy - Powered by Prosŏdy</title> |
6 <link rel="shortcut icon" href="res/img/favicon.png" type="image/gif" /> | 6 <link rel="shortcut icon" href="res/img/favicon.png" type="image/gif" /> |
7 <link rel="stylesheet" type="text/css" href="res/default.css" /> | 7 <link rel="stylesheet" type="text/css" href="res/default.css" /> |
8 | 8 |
9 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> | 9 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> |
10 <script type="text/javascript" src="libs/libs.min.js"></script> | 10 <script type="text/javascript" src="libs.min.js"></script> |
11 <script type="text/javascript" src="candy.min.js"></script> | 11 <script type="text/javascript" src="candy.min.js"></script> |
12 <script type="text/javascript" src="prosody.js"></script><!-- Virtual file generated by mod_candy --> | 12 <script type="text/javascript" src="prosody.js"></script><!-- Virtual file generated by mod_candy --> |
13 <script type="text/javascript"> | 13 <script type="text/javascript"> |
14 $(document).ready(function() { | 14 $(document).ready(function() { |
15 Candy.init(Prosody.bosh_path, { | 15 Candy.init(Prosody.bosh_path, { |
16 core: { debug: false }, | 16 core: { |
17 view: { resources: 'res/' } | 17 // only set this to true if developing / debugging errors |
18 debug: false, | |
19 // autojoin is a *required* parameter if you don't have a plugin (e.g. roomPanel) for it | |
20 // true | |
21 // -> fetch info from server (NOTE: does only work with openfire server) | |
22 // ['test@conference.example.com'] | |
23 // -> array of rooms to join after connecting | |
24 autojoin: true | |
25 }, | |
26 view: { assets: 'res/' } | |
18 }); | 27 }); |
19 | 28 |
20 if(Prosody.anonymous) { | 29 if(Prosody.anonymous) { |
21 Candy.Core.connect(Prosody.host); | 30 Candy.Core.connect(Prosody.host); |
22 } else { | 31 } else { |
23 Candy.Core.connect(); | 32 Candy.Core.connect(); |
24 } | 33 } |
34 | |
35 /** | |
36 * Thanks for trying Candy! | |
37 * | |
38 * If you need more information, please see here: | |
39 * - Setup instructions & config params: http://candy-chat.github.io/candy/#setup | |
40 * - FAQ & more: https://github.com/candy-chat/candy/wiki | |
41 * | |
42 * Mailinglist for questions: | |
43 * - http://groups.google.com/group/candy-chat | |
44 * | |
45 * Github issues for bugs: | |
46 * - https://github.com/candy-chat/candy/issues | |
47 */ | |
48 | |
25 document.title += " " + Prosody.version; | 49 document.title += " " + Prosody.version; |
26 }); | 50 }); |
27 </script> | 51 </script> |
28 </head> | 52 </head> |
29 <body> | 53 <body> |