xmpp.chapril.org-conversejs/converse.js
JC Brand e79c204241 Refactor the API out into a separate module, src/convers-api.js
Plugins are now also updated so that they can get the closured converse object
directly and don't need to rely on _super.
2016-02-20 15:06:12 +00:00

22 lines
694 B
JavaScript

/* Converse.js build configuration
*
* This file is used to tell require.js which components (or plugins) to load
* when it generates a build.
*/
define("converse", [
"converse-api",
/* Removable components
* --------------------
* Any of the following components may be removed if they're not needed.
*/
"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
/* End: Removable components */
], function(converse_api) {
window.converse = converse_api;
return converse_api;
});