فهرست منبع

Make sure the converse object is globally available

We need it so that we can call initialize from the HTML template
JC Brand 12 سال پیش
والد
کامیت
c21a235243
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  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;
+});