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
01c3d35d
Commit
01c3d35d
authored
Nov 15, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary webpack aliases
parent
bab1b609
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
66 additions
and
76 deletions
+66
-76
dist/converse.js
dist/converse.js
+61
-63
src/converse-chatview.js
src/converse-chatview.js
+1
-1
src/converse-message-view.js
src/converse-message-view.js
+1
-1
src/converse-muc-views.js
src/converse-muc-views.js
+1
-1
src/converse-register.js
src/converse-register.js
+1
-1
src/headless/converse-core.js
src/headless/converse-core.js
+1
-3
webpack.config.js
webpack.config.js
+0
-6
No files found.
dist/converse.js
View file @
01c3d35d
This diff is collapsed.
Click to expand it.
src/converse-chatview.js
View file @
01c3d35d
...
...
@@ -25,7 +25,7 @@ import tpl_status_message from "templates/status_message.html";
import
tpl_toolbar
from
"
templates/toolbar.html
"
;
import
tpl_toolbar_fileupload
from
"
templates/toolbar_fileupload.html
"
;
import
tpl_user_details_modal
from
"
templates/user_details_modal.html
"
;
import
u
from
"
utils/emoji
"
;
import
u
from
"
@converse/headless/
utils/emoji
"
;
import
xss
from
"
xss
"
;
const
{
$msg
,
Backbone
,
Promise
,
Strophe
,
_
,
b64_sha1
,
f
,
sizzle
,
moment
}
=
converse
.
env
;
...
...
src/converse-message-view.js
View file @
01c3d35d
...
...
@@ -12,7 +12,7 @@ import tpl_file_progress from "templates/file_progress.html";
import
tpl_info
from
"
templates/info.html
"
;
import
tpl_message
from
"
templates/message.html
"
;
import
tpl_message_versions_modal
from
"
templates/message_versions_modal.html
"
;
import
u
from
"
utils/emoji
"
;
import
u
from
"
@converse/headless/
utils/emoji
"
;
import
xss
from
"
xss
"
;
const
{
Backbone
,
_
,
moment
}
=
converse
.
env
;
...
...
src/converse-muc-views.js
View file @
01c3d35d
...
...
@@ -8,7 +8,7 @@ import "converse-modal";
import
Awesomplete
from
"
awesomplete
"
;
import
_FormData
from
"
formdata-polyfill
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
muc_utils
from
"
utils/muc
"
;
import
muc_utils
from
"
@converse/headless/
utils/muc
"
;
import
tpl_add_chatroom_modal
from
"
templates/add_chatroom_modal.html
"
;
import
tpl_chatarea
from
"
templates/chatarea.html
"
;
import
tpl_chatroom
from
"
templates/chatroom.html
"
;
...
...
src/converse-register.js
View file @
01c3d35d
...
...
@@ -19,7 +19,7 @@ import tpl_register_panel from "templates/register_panel.html";
import
tpl_registration_form
from
"
templates/registration_form.html
"
;
import
tpl_registration_request
from
"
templates/registration_request.html
"
;
import
tpl_spinner
from
"
templates/spinner.html
"
;
import
utils
from
"
utils/form
"
;
import
utils
from
"
@converse/headless/
utils/form
"
;
// Strophe methods for building stanzas
const
{
Strophe
,
Backbone
,
sizzle
,
$iq
,
_
}
=
converse
.
env
;
...
...
src/headless/converse-core.js
View file @
01c3d35d
...
...
@@ -4,8 +4,6 @@
// Copyright (c) 2013-2018, the Converse.js developers
// Licensed under the Mozilla Public License (MPLv2)
"
use strict
"
;
import
{
$build
,
$iq
,
$msg
,
$pres
,
SHA1
,
Strophe
}
from
"
strophe.js
"
;
import
Backbone
from
"
backbone
"
;
import
BrowserStorage
from
"
backbone.browserStorage
"
;
...
...
@@ -17,7 +15,7 @@ import moment from "moment";
import
pluggable
from
"
pluggable.js/dist/pluggable
"
;
import
polyfill
from
"
./polyfill
"
;
import
sizzle
from
"
sizzle
"
;
import
u
from
"
.
/utils/core
"
;
import
u
from
"
@converse/headless
/utils/core
"
;
Backbone
=
Backbone
.
noConflict
();
...
...
webpack.config.js
View file @
01c3d35d
...
...
@@ -81,10 +81,8 @@ const config = {
"
SecondLevelDomains
"
:
path
.
resolve
(
__dirname
,
"
node_modules/urijs/src/SecondLevelDomains
"
),
"
awesomplete
"
:
path
.
resolve
(
__dirname
,
"
node_modules/awesomplete-avoid-xss/awesomplete
"
),
"
bootstrap
"
:
path
.
resolve
(
__dirname
,
"
node_modules/bootstrap.native/dist/bootstrap-native-v4
"
),
"
crypto
"
:
path
.
resolve
(
__dirname
,
"
node_modules/otr/build/dep/crypto
"
),
"
formdata-polyfill
"
:
path
.
resolve
(
__dirname
,
"
node_modules/formdata-polyfill/FormData
"
),
"
jquery
"
:
path
.
resolve
(
__dirname
,
"
src/jquery-stub
"
),
"
lodash.converter
"
:
"
@converse/core/3rdparty/lodash.fp
"
,
"
pluggable
"
:
path
.
resolve
(
__dirname
,
"
node_modules/pluggable.js/dist/pluggable
"
),
"
punycode
"
:
path
.
resolve
(
__dirname
,
"
node_modules/urijs/src/punycode
"
),
"
snabbdom
"
:
path
.
resolve
(
__dirname
,
"
node_modules/snabbdom/dist/snabbdom
"
),
...
...
@@ -97,10 +95,6 @@ const config = {
"
tovnode
"
:
path
.
resolve
(
__dirname
,
"
node_modules/snabbdom/dist/tovnode
"
),
"
underscore
"
:
path
.
resolve
(
__dirname
,
"
src/underscore-shim
"
),
"
uri
"
:
path
.
resolve
(
__dirname
,
"
node_modules/urijs/src/URI
"
),
"
utils/core
"
:
"
@converse/headless/utils/core
"
,
"
utils/emoji
"
:
"
@converse/headless/utils/emoji
"
,
"
utils/form
"
:
"
@converse/headless/utils/form
"
,
"
utils/muc
"
:
"
@converse/headless/utils/muc
"
,
"
vdom-parser
"
:
path
.
resolve
(
__dirname
,
"
node_modules/vdom-parser/dist
"
),
"
xss
"
:
path
.
resolve
(
__dirname
,
"
node_modules/xss/dist/xss
"
)
}
...
...
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