bye bye github
This commit is contained in:
4
public/ext/candy/example/htaccess
Executable file
4
public/ext/candy/example/htaccess
Executable file
@@ -0,0 +1,4 @@
|
||||
AddDefaultCharset UTF-8
|
||||
Options +MultiViews
|
||||
RewriteEngine On
|
||||
RewriteRule http-bind/ http://localhost:5280/http-bind/ [P]
|
||||
51
public/ext/candy/example/index.html
Executable file
51
public/ext/candy/example/index.html
Executable file
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Candy - Chats are not dead yet</title>
|
||||
<link rel="shortcut icon" href="../res/img/favicon.png" type="image/gif" />
|
||||
<link rel="stylesheet" type="text/css" href="../libs.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../res/default.css" />
|
||||
|
||||
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../libs.min.js"></script>
|
||||
<script type="text/javascript" src="../candy.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
Candy.init('http-bind/', {
|
||||
core: {
|
||||
// only set this to true if developing / debugging errors
|
||||
debug: false,
|
||||
// autojoin is a *required* parameter if you don't have a plugin (e.g. roomPanel) for it
|
||||
// true
|
||||
// -> fetch info from server (NOTE: does only work with openfire server)
|
||||
// ['test@conference.example.com']
|
||||
// -> array of rooms to join after connecting
|
||||
autojoin: true
|
||||
},
|
||||
view: { assets: '../res/' }
|
||||
});
|
||||
|
||||
Candy.Core.connect();
|
||||
|
||||
/**
|
||||
* Thanks for trying Candy!
|
||||
*
|
||||
* If you need more information, please see here:
|
||||
* - Setup instructions & config params: http://candy-chat.github.io/candy/#setup
|
||||
* - FAQ & more: https://github.com/candy-chat/candy/wiki
|
||||
*
|
||||
* Mailinglist for questions:
|
||||
* - http://groups.google.com/group/candy-chat
|
||||
*
|
||||
* Github issues for bugs:
|
||||
* - https://github.com/candy-chat/candy/issues
|
||||
*/
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="candy"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user