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
4d9d3913
Commit
4d9d3913
authored
Aug 30, 2020
by
Christoph Scholz
Committed by
JC Brand
Aug 31, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add CustomElement to env
parent
9348ac80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
CHANGES.md
CHANGES.md
+1
-0
src/headless/converse-core.js
src/headless/converse-core.js
+2
-1
No files found.
CHANGES.md
View file @
4d9d3913
...
...
@@ -29,6 +29,7 @@ Soon we'll deprecate the latter, so prepare now.
-
#2187: Avoid merging initial settings with themselves every time settings are extended.
-
#2199: Fix BOSH session restore.
-
#2201: added html to converse.env
-
#2213: added CustomElement to converse.env
-
Removed the mockups from the project. Recommended to use tests instead.
-
The API method
`api.settings.update`
has been deprecated in favor of
`api.settings.extend`
.
-
Filter roster contacts via all available information (JID, nickname and VCard full name).
...
...
src/headless/converse-core.js
View file @
4d9d3913
...
...
@@ -20,6 +20,7 @@ import { Collection } from "@converse/skeletor/src/collection";
import
{
Events
}
from
'
@converse/skeletor/src/events.js
'
;
import
{
Model
}
from
'
@converse/skeletor/src/model.js
'
;
import
{
Router
}
from
'
@converse/skeletor/src/router.js
'
;
import
{
CustomElement
}
from
'
../components/element
'
;
import
{
__
,
i18n
}
from
'
./i18n
'
;
import
{
assignIn
,
debounce
,
invoke
,
isFunction
,
isObject
,
isString
,
pick
}
from
'
lodash-es
'
;
import
{
html
}
from
'
lit-element
'
;
...
...
@@ -1634,7 +1635,7 @@ Object.assign(converse, {
* @property {function} converse.env.sizzle - [Sizzle](https://sizzlejs.com) CSS selector engine.
* @property {object} converse.env.utils - Module containing common utility methods used by Converse.
*/
'
env
'
:
{
$build
,
$iq
,
$msg
,
$pres
,
Model
,
Collection
,
Promise
,
Strophe
,
_
,
dayjs
,
log
,
sizzle
,
stanza_utils
,
u
,
'
utils
'
:
u
,
html
}
'
env
'
:
{
$build
,
$iq
,
$msg
,
$pres
,
Model
,
Collection
,
CustomElement
,
Promise
,
Strophe
,
_
,
dayjs
,
log
,
sizzle
,
stanza_utils
,
u
,
'
utils
'
:
u
,
html
}
});
/**
...
...
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