xmpp.chapril.org-conversejs/src/headless.js
2018-05-11 13:50:19 +02:00

22 lines
903 B
JavaScript

/* * This file is used to tell require.js which components (or plugins) to load
* when it generates a build of converse-headless.js (in the dist/ directory)
*/
if (typeof define !== 'undefined') {
// The section below determines which plugins will be included in a build
define([
"converse-core",
/* START: Removable components
* --------------------
* Any of the following components may be removed if they're not needed.
*/
"converse-chatboxes", // Backbone Collection and Models for chat boxes
"converse-disco", // Service discovery plugin
"converse-mam", // XEP-0313 Message Archive Management
"converse-ping", // XEP-0199 XMPP Ping
"converse-vcard", // XEP-0054 VCard-temp
/* END: Removable components */
], function(converse) {
return converse;
});
}