diff --git a/non_amd.html b/non_amd.html index 614663538..7a374dbce 100755 --- a/non_amd.html +++ b/non_amd.html @@ -49,6 +49,7 @@ +
diff --git a/src/converse-otr.js b/src/converse-otr.js index e8f2128a4..ac3a59319 100644 --- a/src/converse-otr.js +++ b/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