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
7f4f3d7d
Commit
7f4f3d7d
authored
May 21, 2013
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add default config options to converse.js
parent
1311ae06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
converse.js
converse.js
+7
-0
main.js
main.js
+1
-6
No files found.
converse.js
View file @
7f4f3d7d
...
...
@@ -2510,6 +2510,13 @@
};
converse
.
initialize
=
function
(
settings
)
{
// Default values
this
.
animate
=
true
;
this
.
auto_list_rooms
=
false
;
this
.
auto_subscribe
=
false
;
this
.
hide_muc_server
=
false
;
this
.
prebind
=
false
;
this
.
xhr_user_search
=
false
;
_
.
extend
(
this
,
settings
);
this
.
chatboxes
=
new
this
.
ChatBoxes
();
this
.
chatboxesview
=
new
this
.
ChatBoxesView
({
model
:
this
.
chatboxes
});
...
...
main.js
View file @
7f4f3d7d
require
([
"
jquery
"
,
"
converse
"
],
function
(
$
,
converse
)
{
converse
.
initialize
({
animate
:
true
,
bosh_service_url
:
'
https://bind.opkode.im
'
,
// Please use this connection manager only for testing purposes
prebind
:
false
,
xhr_user_search
:
false
,
auto_subscribe
:
false
,
auto_list_rooms
:
false
bosh_service_url
:
'
https://bind.opkode.im
'
// Please use this connection manager only for testing purposes
});
});
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