2016-02-27 17:16:04 +01:00
|
|
|
/* Converse.js components configuration
|
2016-02-16 08:46:47 +01:00
|
|
|
*
|
|
|
|
* This file is used to tell require.js which components (or plugins) to load
|
|
|
|
* when it generates a build.
|
|
|
|
*/
|
2016-02-27 17:16:04 +01:00
|
|
|
define("converse", ["converse-api",
|
2016-02-20 16:06:12 +01:00
|
|
|
|
2016-02-27 17:16:04 +01:00
|
|
|
/* START: Removable components
|
2016-02-16 08:46:47 +01:00
|
|
|
* --------------------
|
2016-02-19 11:43:46 +01:00
|
|
|
* Any of the following components may be removed if they're not needed.
|
2015-07-10 10:35:33 +02:00
|
|
|
*/
|
2016-02-27 17:16:04 +01:00
|
|
|
"locales", // Translations for converse.js. This line can be removed
|
|
|
|
// to remove *all* translations, or you can modify the
|
|
|
|
// file src/locales.js to include only those
|
|
|
|
// translations that you care about.
|
|
|
|
|
2016-02-19 12:38:29 +01:00
|
|
|
"converse-muc", // XEP-0045 Multi-user chat
|
|
|
|
"converse-otr", // Off-the-record encryption for one-on-one messages
|
|
|
|
"converse-register",// XEP-0077 In-band registration
|
|
|
|
"converse-ping", // XEP-0199 XMPP Ping
|
2016-02-27 17:16:04 +01:00
|
|
|
/* END: Removable components */
|
|
|
|
|
2016-02-20 16:06:12 +01:00
|
|
|
], function(converse_api) {
|
|
|
|
window.converse = converse_api;
|
|
|
|
return converse_api;
|
2016-02-16 08:46:47 +01:00
|
|
|
});
|