Re: [conversejs] converse.js error and questions
- Yang, Debbie
- 2015-03-31 @ 01:52
Sorry, I think I am really tired. I just figured out what my issue was
with my question #1 (I am not familiar with this web app so I didn't
realize a few things). Please disregard #1.
I still would like to know about #2 and 3. Right now I'm trying to hook
in by overriding css but not sure if that is the correct approach. I don't
want to modify any converse.js code in case we update.
Thanks for your help.
From: email@example.com [firstname.lastname@example.org] on behalf of
Sent: Monday, March 30, 2015 7:52 PM
Subject: [conversejs] converse.js error and questions
I'm new to using conversejs and am trying to figure out how to incorporate
it into my web application.
A few questions I did not see asked already in the mail archive:
1) I followed the Quickstart instructions by including the
converse.min.css and converse.min.js into a test html page and it worked
fine. However when I included the converse.min.js into my existing web
application the Toggle chat button did not appear at the bottom. I am
getting "Uncaught Error: See almond README: Incorrect module build, no
module name". This is from converse.js:410 from build 0.9.1. Why is
this happening? Do I need to do something differently to include it in my
app and have the chat button appear? Is it not just including this same
converse.min.js file? Also, what and where is this almond README?
2) Is there a way to hook into the control box from my own icon rather
than the one that comes with converse? That is I have a chat button in my
app and when clicked that's when I want the converse chat window to appear
for user login. It would be consistent with other things in my app so I
don't want the Toggle Chat you provide. Is there a way I can do that?
3) I've looked at the documentation you've provided but I don't
understand how to incorporate converse into my app. This is somewhat
related to #1 ... If I need to include it in my builds do I include the
converse.js only or everything that came in the download and not just the
2 Quickstart files? Are the instructions different from Quickstart? The
rest of the configuring for Bosh, XMPP server etc I understand I'll need
to do but how do I get converse into my web app without errors as
described in #1?
Thanks for your help.