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

Fix jquery not defined

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