Commit e01f1ea5 authored by JC Brand's avatar JC Brand

Make sure Strophe is available for other dep configs as well.

parent a359dc5e
......@@ -3,19 +3,20 @@ define("converse-dependencies", [
"utils",
"otr",
"moment",
"backbone.browserStorage",
"backbone.overview",
"jquery.browser",
"typeahead",
"strophe",
"strophe.roster",
"strophe.vcard",
"strophe.disco"
], function($, utils, otr, moment) {
return {
"strophe.disco",
"backbone.browserStorage",
"backbone.overview",
"jquery.browser",
"typeahead"
], function($, utils, otr, moment, Strophe) {
return _.extend({
'underscore': _,
'jQuery': $,
'moment': moment,
'otr': otr,
'moment': moment,
'utils': utils
};
}, Strophe);
});
......@@ -2,19 +2,20 @@ define("converse-dependencies", [
"jquery",
"utils",
"moment",
"backbone.browserStorage",
"backbone.overview",
"jquery.browser",
"typeahead",
"strophe",
"strophe.roster",
"strophe.vcard",
"strophe.disco"
], function($, utils, moment) {
return {
"strophe.disco",
"backbone.browserStorage",
"backbone.overview",
"jquery.browser",
"typeahead"
], function($, utils, moment, Strophe) {
return _.extend({
'underscore': _,
'jQuery': $,
'otr': undefined,
'moment': moment,
'utils': utils
};
}, Strophe);
});
......@@ -2,21 +2,22 @@ define("converse-dependencies", [
"jquery",
"utils",
"moment",
"strophe",
"strophe.roster",
"strophe.vcard",
"strophe.disco",
"bootstrapJS", // XXX: Can be removed, only for https://conversejs.org
"backbone.browserStorage",
"backbone.overview",
"jquery.browser",
"jquery.easing", // XXX: Can be removed, only for https://conversejs.org
"typeahead",
"strophe",
"strophe.roster",
"strophe.vcard",
"strophe.disco"
], function($, utils, moment) {
return {
"typeahead"
], function($, utils, moment, Strophe) {
return _.extend({
'underscore': _,
'jQuery': $,
'otr': undefined,
'otr': otr,
'moment': moment,
'utils': utils
};
}, Strophe);
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment