From c21a23524387c4c6d62419d026e59700228d7313 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Thu, 25 Jul 2013 00:07:44 +0200 Subject: [PATCH] Make sure the converse object is globally available We need it so that we can call initialize from the HTML template --- main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index e6ab65b06..e445679d5 100644 --- a/main.js +++ b/main.js @@ -1 +1,3 @@ -require(["jquery", "converse"], function($, converse) {}); +require(["jquery", "converse"], function($, converse) { + window.converse = converse; +});