2014-08-05 16:11:20 +02:00
|
|
|
define("converse-dependencies", [
|
2014-10-06 20:23:59 +02:00
|
|
|
"jquery",
|
2014-10-13 22:02:55 +02:00
|
|
|
"utils",
|
2014-08-05 16:11:20 +02:00
|
|
|
"moment",
|
2015-03-05 21:33:48 +01:00
|
|
|
"strophe",
|
|
|
|
"strophe.roster",
|
|
|
|
"strophe.vcard",
|
|
|
|
"strophe.disco",
|
2014-10-07 18:17:19 +02:00
|
|
|
"bootstrapJS", // XXX: Can be removed, only for https://conversejs.org
|
2014-08-05 16:11:20 +02:00
|
|
|
"backbone.browserStorage",
|
|
|
|
"backbone.overview",
|
|
|
|
"jquery.browser",
|
|
|
|
"jquery.easing", // XXX: Can be removed, only for https://conversejs.org
|
2015-03-05 21:33:48 +01:00
|
|
|
"typeahead"
|
|
|
|
], function($, utils, moment, Strophe) {
|
|
|
|
return _.extend({
|
|
|
|
'underscore': _,
|
2014-10-06 20:23:59 +02:00
|
|
|
'jQuery': $,
|
2015-03-05 21:33:48 +01:00
|
|
|
'otr': otr,
|
2014-10-13 22:02:55 +02:00
|
|
|
'moment': moment,
|
|
|
|
'utils': utils
|
2015-03-05 21:33:48 +01:00
|
|
|
}, Strophe);
|
2014-08-05 16:11:20 +02:00
|
|
|
});
|