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
d3a684a5
Commit
d3a684a5
authored
Nov 15, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move some functions outside of the `initialize` closure
parent
588b015e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
294 additions
and
277 deletions
+294
-277
dist/converse.js
dist/converse.js
+149
-142
spec/converse.js
spec/converse.js
+1
-1
src/headless/converse-core.js
src/headless/converse-core.js
+144
-134
No files found.
dist/converse.js
View file @
d3a684a5
This diff is collapsed.
Click to expand it.
spec/converse.js
View file @
d3a684a5
...
...
@@ -16,7 +16,7 @@
var
connection
=
_converse
.
connection
;
delete
_converse
.
bosh_service_url
;
delete
_converse
.
connection
;
expect
(
_converse
.
initConnection
.
bind
(
_converse
)
).
toThrow
(
expect
(
_converse
.
initConnection
).
toThrow
(
new
Error
(
"
initConnection: you must supply a value for either the bosh_service_url or websocket_url or both.
"
));
_converse
.
bosh_service_url
=
url
;
_converse
.
connection
=
connection
;
...
...
src/headless/converse-core.js
View file @
d3a684a5
This diff is collapsed.
Click to expand it.
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