2013-07-27 01:47:46 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2015-01-16 22:07:27 +01:00
|
|
|
<title>Converse.js (Non-AMD Example)</title>
|
2013-07-27 01:47:46 +02:00
|
|
|
<meta charset='utf-8' />
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
|
2015-01-16 22:07:27 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<meta name="description" content="Converse.js: A free chat client for your website" />
|
|
|
|
<meta name="author" content="JC Brand" />
|
|
|
|
<link rel="shortcut icon" type="image/ico" href="css/images/favicon.ico"/>
|
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="components/bootstrap/dist/css/bootstrap.min.css" />
|
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="components/fontawesome/css/font-awesome.min.css" />
|
2016-11-14 09:10:44 +01:00
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="https://cdn.conversejs.org/css/theme.min.css" />
|
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="https://cdn.conversejs.org/css/converse.min.css" />
|
2013-07-27 01:47:46 +02:00
|
|
|
|
2016-02-27 17:16:04 +01:00
|
|
|
<!-- BEGIN JQUERY -->
|
2016-09-23 10:54:55 +02:00
|
|
|
<script type="text/javascript" src="node_modules/jquery/dist/jquery.js"></script>
|
|
|
|
<script type="text/javascript" src="node_modules/jquery.browser/dist/jquery.browser.js"></script>
|
2016-02-27 17:16:04 +01:00
|
|
|
<script type="text/javascript" src="components/typeahead.js/index.js"></script>
|
|
|
|
<!-- END JQUERY -->
|
|
|
|
|
|
|
|
<!-- BEGIN OTR: Off-the-record encryption stuff. Can be omitted if OTR is not used. -->
|
2016-09-23 10:54:55 +02:00
|
|
|
<script type="text/javascript" src="node_modules/otr/build/dep/salsa20.js"></script>
|
2014-08-05 16:59:38 +02:00
|
|
|
<script type="text/javascript" src="src/bigint.js"></script>
|
2016-09-23 10:54:55 +02:00
|
|
|
<script type="text/javascript" src="node_modules/otr/vendor/cryptojs/core.js"></script>
|
|
|
|
<script type="text/javascript" src="node_modules/otr/vendor/cryptojs/enc-base64.js"></script>
|
2014-07-06 17:32:06 +02:00
|
|
|
<script type="text/javascript" src="components/crypto-js-evanvosberg/src/md5.js"></script>
|
|
|
|
<script type="text/javascript" src="components/crypto-js-evanvosberg/src/evpkdf.js"></script>
|
2016-09-23 10:54:55 +02:00
|
|
|
<script type="text/javascript" src="node_modules/otr/vendor/cryptojs/cipher-core.js"></script>
|
|
|
|
<script type="text/javascript" src="node_modules/otr/vendor/cryptojs/aes.js"></script>
|
|
|
|
<script type="text/javascript" src="node_modules/otr/vendor/cryptojs/sha1.js"></script>
|
|
|
|
<script type="text/javascript" src="node_modules/otr/vendor/cryptojs/sha256.js"></script>
|
|
|
|
<script type="text/javascript" src="node_modules/otr/vendor/cryptojs/hmac.js"></script>
|
|
|
|
<script type="text/javascript" src="node_modules/otr/vendor/cryptojs/pad-nopadding.js"></script>
|
|
|
|
<script type="text/javascript" src="node_modules/otr/vendor/cryptojs/mode-ctr.js"></script>
|
|
|
|
<script type="text/javascript" src="node_modules/otr/build/dep/eventemitter.js"></script>
|
2014-08-05 16:59:38 +02:00
|
|
|
<script type="text/javascript" src="src/otr.js"></script>
|
2016-02-27 17:16:04 +01:00
|
|
|
<!-- END OTR -->
|
|
|
|
|
|
|
|
<!-- BEGIN STROPHE -->
|
2016-09-23 10:54:55 +02:00
|
|
|
<script type="text/javascript" src="node_modules/strophe.js/strophe.js"></script>
|
2015-01-16 22:07:27 +01:00
|
|
|
<script type="text/javascript" src="components/strophejs-plugins/vcard/strophe.vcard.js"></script>
|
|
|
|
<script type="text/javascript" src="components/strophejs-plugins/disco/strophe.disco.js"></script>
|
2015-10-24 14:14:59 +02:00
|
|
|
<script type="text/javascript" src="components/strophejs-plugins/rsm/strophe.rsm.js"></script>
|
|
|
|
<script type="text/javascript" src="src/strophe.ping.js"></script>
|
2016-02-27 17:16:04 +01:00
|
|
|
<!-- END STROPHE -->
|
|
|
|
|
|
|
|
<!-- BEGIN BACKBONE -->
|
2017-01-26 10:08:43 +01:00
|
|
|
<script type="text/javascript" src="node_modules/lodash/core.js"></script>
|
2016-09-23 10:54:55 +02:00
|
|
|
<script type="text/javascript" src="node_modules/backbone//backbone.js"></script>
|
|
|
|
<script type="text/javascript" src="node_modules/backbone.browserStorage/backbone.browserStorage.js"></script>
|
|
|
|
<script type="text/javascript" src="node_modules/backbone.overview/backbone.overview.js"></script>
|
2016-02-27 17:16:04 +01:00
|
|
|
<!-- END BACKBONE -->
|
|
|
|
|
|
|
|
<!-- BEGIN I18N -->
|
2016-02-28 10:00:22 +01:00
|
|
|
<!-- These files can be removed if you don't want to include any
|
|
|
|
translations for converse.js.
|
|
|
|
If you want to modify which translations are included, you can modify
|
|
|
|
src/locales.js to remove those you don't need, and then run `make
|
|
|
|
build` to generates a new dist/locales.js file.
|
|
|
|
-->
|
2016-09-23 10:54:55 +02:00
|
|
|
<script type="text/javascript" src="node_modules/jed/jed.js"></script>
|
2016-02-28 10:00:22 +01:00
|
|
|
<script type="text/javascript" src="dist/locales.js"></script>
|
2016-02-27 17:16:04 +01:00
|
|
|
<!-- END I18N -->
|
|
|
|
|
2016-09-23 10:54:55 +02:00
|
|
|
<script type="text/javascript" src="node_modules/moment/min/moment-with-locales.js"></script>
|
2016-11-14 09:10:44 +01:00
|
|
|
|
|
|
|
<script src="https://cdn.conversejs.org/dist/converse-no-dependencies.min.js"></script>
|
2013-07-27 01:47:46 +02:00
|
|
|
</head>
|
2015-01-16 22:07:27 +01:00
|
|
|
<body id="page-top" data-spy="scroll" data-target=".navbar-custom">
|
|
|
|
<section class="intro">
|
|
|
|
<div class="intro-body">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-8 col-md-offset-2">
|
|
|
|
<h1 class="brand-heading"><i class="icon-conversejs"></i>Converse.js</h1>
|
|
|
|
<p class="intro-text">Example page without require.js and AMD module loading.</p>
|
2016-11-14 09:10:44 +01:00
|
|
|
<p class="intro-text">For this page to work, you need to
|
|
|
|
<a href="https://conversejs.org/docs/html/developer_guidelines.html#installing-the-development-and-front-end-dependencies">
|
|
|
|
install the 3rd party dependencies</a> of converse.js.
|
|
|
|
</p>
|
2015-01-16 22:07:27 +01:00
|
|
|
<div class="page-scroll">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
2013-07-27 01:47:46 +02:00
|
|
|
</body>
|
2015-01-16 22:07:27 +01:00
|
|
|
|
2013-07-27 01:47:46 +02:00
|
|
|
<script>
|
2016-02-26 18:28:18 +01:00
|
|
|
require(['converse'], function (converse) {
|
|
|
|
converse.initialize({
|
|
|
|
bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
|
|
|
|
i18n: locales.en, // Refer to ./locale/locales.js to see which locales are supported
|
|
|
|
prebind: false,
|
|
|
|
show_controlbox_by_default: true,
|
|
|
|
debug: true,
|
|
|
|
roster_groups: true
|
|
|
|
});
|
2013-07-27 01:47:46 +02:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</html>
|