Commit 5bb76b10 authored by JC Brand's avatar JC Brand

Fix jquery not defined

parent 685ea5e1
...@@ -219,6 +219,7 @@ require.config({ ...@@ -219,6 +219,7 @@ require.config({
if (typeof define !== 'undefined') { if (typeof define !== 'undefined') {
/* When running tests, define is not defined. */ /* When running tests, define is not defined. */
define("converse", [ define("converse", [
"jquery",
"converse-api", "converse-api",
/* START: Removable components /* START: Removable components
...@@ -243,7 +244,7 @@ if (typeof define !== 'undefined') { ...@@ -243,7 +244,7 @@ if (typeof define !== 'undefined') {
"converse-headline", // Support for headline messages "converse-headline", // Support for headline messages
/* END: Removable components */ /* END: Removable components */
], function(converse_api) { ], function($, converse_api) {
window.converse = converse_api; window.converse = converse_api;
$(window).trigger('converse-loaded', converse_api); $(window).trigger('converse-loaded', converse_api);
return converse_api; return converse_api;
......
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