Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
952b5098
Commit
952b5098
authored
Jun 22, 2015
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small improvements to quickstart text.
parent
86843517
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
docs/source/quickstart.rst
docs/source/quickstart.rst
+6
-5
No files found.
docs/source/quickstart.rst
View file @
952b5098
...
...
@@ -22,14 +22,14 @@ tags:
You need to initialize Converse.js with configuration settings according to
your requirements.
Please refer to the :ref:`configuration-variables` section further below for info on
all the available configuration settings.
Please refer to the :ref:`configuration-variables` section for info on all the available configuration settings.
To configure Converse.js, put the following inline Javascript code at the
To configure
and initialize
Converse.js, put the following inline Javascript code at the
bottom of your page (after the closing *</body>* element).
.. code-block:: javascript
<script>
require(['converse'], function (converse) {
converse.initialize({
bosh_service_url: 'https://bind.conversejs.org', // Please use this connection manager only for testing purposes
...
...
@@ -38,14 +38,15 @@ bottom of your page (after the closing *</body>* element).
roster_groups: true
});
});
</script>
The `index.html <https://github.com/jcbrand/converse.js/blob/master/index.html>`_ file inside the
Converse.js repository may serve as a nice usable example.
These minified files provide the same demo-like functionality as is available
These minified
`.js` and `.css`
files provide the same demo-like functionality as is available
on the `conversejs.org <http://conversejs.org>`_ website. Useful for testing or demoing.
You'll most likely want to implement some kind of
single persistent
session solution for
You'll most likely want to implement some kind of
persistent single-
session solution for
your website, where users authenticate once in your website and then stay
logged in to their XMPP session upon the next page reload.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment