Explorar el Código

Make sure the converse object is globally available

We need it so that we can call initialize from the HTML template
JC Brand hace 12 años
padre
commit
c21a235243
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      main.js

+ 3 - 1
main.js

@@ -1 +1,3 @@
-require(["jquery", "converse"], function($, converse) {});
+require(["jquery", "converse"], function($, converse) {
+    window.converse = converse;
+});