Browse Source

Add converse-otr to non_amd.html

JC Brand 9 years ago
parent
commit
767da07f49
2 changed files with 2 additions and 1 deletions
  1. 1 0
      non_amd.html
  2. 1 1
      src/converse-otr.js

+ 1 - 0
non_amd.html

@@ -49,6 +49,7 @@
     <script type="text/javascript" src="src/utils.js"></script>
     <script type="text/javascript" src="src/converse-core.js"></script>
     <script type="text/javascript" src="src/converse-muc.js"></script>
+    <script type="text/javascript" src="src/converse-otr.js"></script>
 </head>
 <body id="page-top" data-spy="scroll" data-target=".navbar-custom">
     <section class="intro">

+ 1 - 1
src/converse-otr.js

@@ -20,7 +20,7 @@
         // In this case, the dependencies need to be available already as
         // global variables, and should be loaded separately via *script* tags.
         // See the file **non_amd.html** for an example of this usecase.
-        root.converse = factory(otr, converse, utils);
+        factory(otr, converse, utils);
     }
 }(this, function (otr, converse_api, utils) {
     // Strophe methods for building stanzas