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
6dc9e8ed
Commit
6dc9e8ed
authored
May 24, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use webpack for module bundling
parent
d920c2a8
Changes
27
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
9624 additions
and
78215 deletions
+9624
-78215
.babelrc
.babelrc
+1
-1
Makefile
Makefile
+2
-1
dist/converse.js
dist/converse.js
+61
-74027
index.html
index.html
+2
-2
package-lock.json
package-lock.json
+9321
-4063
package.json
package.json
+8
-11
src/converse-bookmarks.js
src/converse-bookmarks.js
+4
-4
src/converse-chatboxes.js
src/converse-chatboxes.js
+1
-1
src/converse-chatview.js
src/converse-chatview.js
+16
-17
src/converse-controlbox.js
src/converse-controlbox.js
+4
-4
src/converse-dragresize.js
src/converse-dragresize.js
+1
-1
src/converse-fullscreen.js
src/converse-fullscreen.js
+1
-1
src/converse-headline.js
src/converse-headline.js
+1
-1
src/converse-message-view.js
src/converse-message-view.js
+6
-6
src/converse-minimize.js
src/converse-minimize.js
+4
-4
src/converse-modal.js
src/converse-modal.js
+1
-1
src/converse-muc-views.js
src/converse-muc-views.js
+20
-20
src/converse-profile.js
src/converse-profile.js
+5
-5
src/converse-register.js
src/converse-register.js
+7
-7
src/converse-roomslist.js
src/converse-roomslist.js
+2
-2
src/converse-rosterview.js
src/converse-rosterview.js
+8
-8
src/converse-vcard.js
src/converse-vcard.js
+1
-1
src/converse.js
src/converse.js
+0
-1
src/lodash.noconflict.js
src/lodash.noconflict.js
+0
-13
src/utils/core.js
src/utils/core.js
+4
-4
src/utils/form.js
src/utils/form.js
+9
-9
webpack.config.js
webpack.config.js
+134
-0
No files found.
.babelrc
View file @
6dc9e8ed
Makefile
View file @
6dc9e8ed
...
...
@@ -15,6 +15,7 @@ OXIPNG ?= oxipng
PAPER
=
PO2JSON
?=
./node_modules/.bin/po2json
RJS
?=
./node_modules/.bin/r.js
WEBPACK
?=
./node_modules/.bin/npx
SASS
?=
./.bundle/bin/sass
SED
?=
sed
SPHINXBUILD
?=
./bin/sphinx-build
...
...
@@ -155,7 +156,7 @@ watch: dev
.PHONY
:
watchjs
watchjs
:
dev
$(BABEL)
--source-maps
--watch
=
./src
--out-dir
=
./builds
./node_modules/.bin/npx webpack
--mode
=
development
--watch
transpile
:
dev src
$(BABEL)
--source-maps
--out-dir
=
./builds ./src
...
...
dist/converse.js
View file @
6dc9e8ed
This diff is collapsed.
Click to expand it.
index.html
View file @
6dc9e8ed
...
...
@@ -20,8 +20,8 @@
<!-- *********************************************************************** -->
<
![
if
gte
IE
11
]
>
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"
https://cdn.conversejs.org/css/converse.min
.css"
/>
<script
src=
"
https://cdn.conversejs.org/dist/converse.min
.js"
></script>
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"
css/converse
.css"
/>
<script
src=
"
dist/converse
.js"
></script>
<
![
endif
]
>
</head>
...
...
package-lock.json
View file @
6dc9e8ed
This diff is collapsed.
Click to expand it.
package.json
View file @
6dc9e8ed
...
...
@@ -29,11 +29,11 @@
"browser"
:
"*"
},
"devDependencies"
:
{
"
@babel/cli
"
:
"
^7.0.0-beta.35
"
,
"
@babel/core
"
:
"
^7.0.0-beta.35
"
,
"
@babel/preset-env
"
:
"
^7.0.0-beta.35
"
,
"
almond
"
:
"
~0.3.3
"
,
"
@babel/cli
"
:
"
^7.0.0-beta.48
"
,
"
@babel/core
"
:
"
^7.0.0-beta.48
"
,
"
@babel/preset-env
"
:
"
^7.0.0-beta.48
"
,
"
awesomplete-avoid-xss
"
:
"
^1.1.2
"
,
"
babel-loader
"
:
"
^8.0.0-beta.3
"
,
"
backbone
"
:
"
1.3.3
"
,
"
backbone.browserStorage
"
:
"
0.0.3
"
,
"
backbone.nativeview
"
:
"
^0.3.3
"
,
...
...
@@ -57,28 +57,25 @@
"
jsdoc
"
:
"
^3.5.5
"
,
"
jshint
"
:
"
^2.9.4
"
,
"
lodash
"
:
"
4.17.4
"
,
"
lodash-template-
loader
"
:
"
^2.0.0
"
,
"
lodash-template-
webpack-loader
"
:
"
jcbrand/lodash-template-webpack-loader
"
,
"
moment
"
:
"~> 2.19.3 "
,
"
npm
"
:
"
^5.7.1
"
,
"
otr
"
:
"
0.2.16
"
,
"
pluggable.js
"
:
"
2.0.0
"
,
"
po2json
"
:
"
^0.4.4
"
,
"
requirejs
"
:
"
2.3.5
"
,
"
run-headless-chromium
"
:
"
^0.1.1
"
,
"
sinon
"
:
"
^2.1.0
"
,
"
sizzle
"
:
"
^2.3.3
"
,
"
snabbdom
"
:
"
0.7.1
"
,
"
snyk
"
:
"
^1.21.2
"
,
"
strophe.js
"
:
"
1.2.14
"
,
"
strophejs-plugin-ping
"
:
"
0.0.1
"
,
"
strophejs-plugin-register
"
:
"
0.0.1
"
,
"
strophejs-plugin-rsm
"
:
"
0.0.1
"
,
"
text
"
:
"
requirejs/text#2.0.15
"
,
"
uglify-es
"
:
"
^3.0.24
"
,
"
urijs
"
:
"
^1.19.1
"
,
"
wait-until-promise
"
:
"
^1.0.0
"
,
"
webpack
"
:
"
^4.0.1
"
,
"
webpack-cli
"
:
"
^2.1.4
"
,
"
xss
"
:
"
^0.3.3
"
},
"dependencies"
:
{
"
npm
"
:
"
^5.7.1
"
}
}
src/converse-bookmarks.js
View file @
6dc9e8ed
...
...
@@ -12,10 +12,10 @@
(
function
(
root
,
factory
)
{
define
([
"
converse-core
"
,
"
converse-muc
"
,
"
t
pl!chatroom_bookmark_form
"
,
"
t
pl!chatroom_bookmark_toggle
"
,
"
t
pl!bookmark
"
,
"
t
pl!bookmarks_list
"
"
t
emplates/chatroom_bookmark_form.html
"
,
"
t
emplates/chatroom_bookmark_toggle.html
"
,
"
t
emplates/bookmark.html
"
,
"
t
emplates/bookmarks_list.html
"
],
factory
);
}(
this
,
function
(
...
...
src/converse-chatboxes.js
View file @
6dc9e8ed
...
...
@@ -9,7 +9,7 @@
"
converse-core
"
,
"
emojione
"
,
"
filesize
"
,
"
t
pl!chatboxes
"
,
"
t
emplates/chatboxes.html
"
,
"
backbone.overview
"
,
"
form-utils
"
],
factory
);
...
...
src/converse-chatview.js
View file @
6dc9e8ed
...
...
@@ -5,26 +5,25 @@
// Licensed under the Mozilla Public License (MPLv2)
(
function
(
root
,
factory
)
{
define
([
"
converse-core
"
,
define
([
"
converse-core
"
,
"
bootstrap
"
,
"
emojione
"
,
"
xss
"
,
"
t
pl!action
"
,
"
t
pl!chatbox
"
,
"
t
pl!chatbox_head
"
,
"
t
pl!chatbox_message_form
"
,
"
t
pl!emojis
"
,
"
t
pl!error_message
"
,
"
t
pl!help_message
"
,
"
t
pl!info
"
,
"
t
pl!new_day
"
,
"
t
pl!user_details_moda
l
"
,
"
t
pl!toolbar_fileupload
"
,
"
t
pl!spinner
"
,
"
t
pl!spoiler_button
"
,
"
t
pl!status_message
"
,
"
t
pl!toolbar
"
,
"
t
emplates/action.html
"
,
"
t
emplates/chatbox.html
"
,
"
t
emplates/chatbox_head.html
"
,
"
t
emplates/chatbox_message_form.html
"
,
"
t
emplates/emojis.html
"
,
"
t
emplates/error_message.html
"
,
"
t
emplates/help_message.html
"
,
"
t
emplates/info.html
"
,
"
t
emplates/new_day.html
"
,
"
t
emplates/user_details_modal.htm
l
"
,
"
t
emplates/toolbar_fileupload.html
"
,
"
t
emplates/spinner.html
"
,
"
t
emplates/spoiler_button.html
"
,
"
t
emplates/status_message.html
"
,
"
t
emplates/toolbar.html
"
,
"
converse-modal
"
,
"
converse-chatboxes
"
,
"
converse-message-view
"
...
...
src/converse-controlbox.js
View file @
6dc9e8ed
...
...
@@ -10,10 +10,10 @@
define
([
"
converse-core
"
,
"
bootstrap
"
,
"
lodash.fp
"
,
"
t
pl!converse_brand_heading
"
,
"
t
pl!controlbox
"
,
"
t
pl!controlbox_toggle
"
,
"
t
pl!login_pane
l
"
,
"
t
emplates/converse_brand_heading.html
"
,
"
t
emplates/controlbox.html
"
,
"
t
emplates/controlbox_toggle.html
"
,
"
t
emplates/login_panel.htm
l
"
,
"
converse-chatview
"
,
"
converse-rosterview
"
,
"
converse-profile
"
...
...
src/converse-dragresize.js
View file @
6dc9e8ed
...
...
@@ -8,7 +8,7 @@
(
function
(
root
,
factory
)
{
define
([
"
converse-core
"
,
"
t
pl!dragresize
"
,
"
t
emplates/dragresize.html
"
,
"
converse-chatview
"
,
"
converse-controlbox
"
],
factory
);
...
...
src/converse-fullscreen.js
View file @
6dc9e8ed
...
...
@@ -8,7 +8,7 @@
(
function
(
root
,
factory
)
{
define
([
"
converse-core
"
,
"
t
pl!inverse_brand_heading
"
,
"
t
emplates/inverse_brand_heading.html
"
,
"
converse-chatview
"
,
"
converse-controlbox
"
,
"
converse-muc
"
,
...
...
src/converse-headline.js
View file @
6dc9e8ed
...
...
@@ -9,7 +9,7 @@
(
function
(
root
,
factory
)
{
define
([
"
converse-core
"
,
"
t
pl!chatbox
"
,
"
t
emplates/chatbox.html
"
,
"
converse-chatview
"
,
],
factory
);
}(
this
,
function
(
converse
,
tpl_chatbox
)
{
...
...
src/converse-message-view.js
View file @
6dc9e8ed
...
...
@@ -10,12 +10,12 @@
"
xss
"
,
"
emojione
"
,
"
filesize
"
,
"
t
pl!action
"
,
"
t
pl!csn
"
,
"
t
pl!file_progress
"
,
"
t
pl!info
"
,
"
t
pl!message
"
,
"
t
pl!spoiler_message
"
"
t
emplates/action.html
"
,
"
t
emplates/csn.html
"
,
"
t
emplates/file_progress.html
"
,
"
t
emplates/info.html
"
,
"
t
emplates/message.html
"
,
"
t
emplates/spoiler_message.html
"
],
factory
);
}(
this
,
function
(
converse
,
...
...
src/converse-minimize.js
View file @
6dc9e8ed
...
...
@@ -8,10 +8,10 @@
(
function
(
root
,
factory
)
{
define
([
"
converse-core
"
,
"
t
pl!chatbox_minimize
"
,
"
t
pl!toggle_chats
"
,
"
t
pl!trimmed_chat
"
,
"
t
pl!chats_pane
l
"
,
"
t
emplates/chatbox_minimize.html
"
,
"
t
emplates/toggle_chats.html
"
,
"
t
emplates/trimmed_chat.html
"
,
"
t
emplates/chats_panel.htm
l
"
,
"
converse-chatview
"
],
factory
);
}(
this
,
function
(
...
...
src/converse-modal.js
View file @
6dc9e8ed
...
...
@@ -8,7 +8,7 @@
if
(
typeof
define
===
'
function
'
&&
define
.
amd
)
{
define
([
"
converse-core
"
,
"
t
pl!alert_moda
l
"
,
"
t
emplates/alert_modal.htm
l
"
,
"
bootstrap
"
,
"
backbone.vdomview
"
],
factory
);
...
...
src/converse-muc-views.js
View file @
6dc9e8ed
...
...
@@ -8,26 +8,26 @@
define
([
"
converse-core
"
,
"
muc-utils
"
,
"
t
pl!add_chatroom_moda
l
"
,
"
t
pl!chatarea
"
,
"
t
pl!chatroom
"
,
"
t
pl!chatroom_disconnect
"
,
"
t
pl!chatroom_features
"
,
"
t
pl!chatroom_form
"
,
"
t
pl!chatroom_head
"
,
"
t
pl!chatroom_invite
"
,
"
t
pl!chatroom_nickname_form
"
,
"
t
pl!chatroom_password_form
"
,
"
t
pl!chatroom_sidebar
"
,
"
t
pl!chatroom_toolbar
"
,
"
t
pl!info
"
,
"
t
pl!list_chatrooms_moda
l
"
,
"
t
pl!occupant
"
,
"
t
pl!room_description
"
,
"
t
pl!room_item
"
,
"
t
pl!room_pane
l
"
,
"
t
pl!rooms_results
"
,
"
t
pl!spinner
"
,
"
t
emplates/add_chatroom_modal.htm
l
"
,
"
t
emplates/chatarea.html
"
,
"
t
emplates/chatroom.html
"
,
"
t
emplates/chatroom_disconnect.html
"
,
"
t
emplates/chatroom_features.html
"
,
"
t
emplates/chatroom_form.html
"
,
"
t
emplates/chatroom_head.html
"
,
"
t
emplates/chatroom_invite.html
"
,
"
t
emplates/chatroom_nickname_form.html
"
,
"
t
emplates/chatroom_password_form.html
"
,
"
t
emplates/chatroom_sidebar.html
"
,
"
t
emplates/chatroom_toolbar.html
"
,
"
t
emplates/info.html
"
,
"
t
emplates/list_chatrooms_modal.htm
l
"
,
"
t
emplates/occupant.html
"
,
"
t
emplates/room_description.html
"
,
"
t
emplates/room_item.html
"
,
"
t
emplates/room_panel.htm
l
"
,
"
t
emplates/rooms_results.html
"
,
"
t
emplates/spinner.html
"
,
"
awesomplete
"
,
"
converse-modal
"
],
factory
);
...
...
src/converse-profile.js
View file @
6dc9e8ed
...
...
@@ -9,11 +9,11 @@
(
function
(
root
,
factory
)
{
define
([
"
converse-core
"
,
"
bootstrap
"
,
"
t
pl!alert
"
,
"
t
pl!chat_status_moda
l
"
,
"
t
pl!profile_moda
l
"
,
"
t
pl!profile_view
"
,
"
t
pl!status_option
"
,
"
t
emplates/alert.html
"
,
"
t
emplates/chat_status_modal.htm
l
"
,
"
t
emplates/profile_modal.htm
l
"
,
"
t
emplates/profile_view.html
"
,
"
t
emplates/status_option.html
"
,
"
converse-vcard
"
,
"
converse-modal
"
],
factory
);
...
...
src/converse-register.js
View file @
6dc9e8ed
...
...
@@ -12,13 +12,13 @@
(
function
(
root
,
factory
)
{
define
([
"
form-utils
"
,
"
converse-core
"
,
"
t
pl!form_username
"
,
"
t
pl!register_link
"
,
"
t
pl!register_pane
l
"
,
"
t
pl!registration_form
"
,
"
t
pl!registration_request
"
,
"
t
pl!form_input
"
,
"
t
pl!spinner
"
,
"
t
emplates/form_username.html
"
,
"
t
emplates/register_link.html
"
,
"
t
emplates/register_panel.htm
l
"
,
"
t
emplates/registration_form.html
"
,
"
t
emplates/registration_request.html
"
,
"
t
emplates/form_input.html
"
,
"
t
emplates/spinner.html
"
,
"
converse-controlbox
"
],
factory
);
}(
this
,
function
(
...
...
src/converse-roomslist.js
View file @
6dc9e8ed
...
...
@@ -13,8 +13,8 @@
define
([
"
utils
"
,
"
converse-core
"
,
"
converse-muc
"
,
"
t
pl!rooms_list
"
,
"
t
pl!rooms_list_item
"
"
t
emplates/rooms_list.html
"
,
"
t
emplates/rooms_list_item.html
"
],
factory
);
}(
this
,
function
(
utils
,
converse
,
muc
,
tpl_rooms_list
,
tpl_rooms_list_item
)
{
const
{
Backbone
,
Promise
,
Strophe
,
b64_sha1
,
sizzle
,
_
}
=
converse
.
env
;
...
...
src/converse-rosterview.js
View file @
6dc9e8ed
...
...
@@ -6,14 +6,14 @@
(
function
(
root
,
factory
)
{
define
([
"
converse-core
"
,
"
t
pl!add_contact_moda
l
"
,
"
t
pl!group_header
"
,
"
t
pl!pending_contact
"
,
"
t
pl!requesting_contact
"
,
"
t
pl!roster
"
,
"
t
pl!roster_filter
"
,
"
t
pl!roster_item
"
,
"
t
pl!search_contact
"
,
"
t
emplates/add_contact_modal.htm
l
"
,
"
t
emplates/group_header.html
"
,
"
t
emplates/pending_contact.html
"
,
"
t
emplates/requesting_contact.html
"
,
"
t
emplates/roster.html
"
,
"
t
emplates/roster_filter.html
"
,
"
t
emplates/roster_item.html
"
,
"
t
emplates/search_contact.html
"
,
"
awesomplete
"
,
"
converse-chatboxes
"
,
"
converse-modal
"
...
...
src/converse-vcard.js
View file @
6dc9e8ed
...
...
@@ -5,7 +5,7 @@
// Licensed under the Mozilla Public License (MPLv2)
(
function
(
root
,
factory
)
{
define
([
"
converse-core
"
,
"
crypto
"
,
"
t
pl!vcard
"
],
factory
);
define
([
"
converse-core
"
,
"
crypto
"
,
"
t
emplates/vcard.html
"
],
factory
);
}(
this
,
function
(
converse
,
CryptoJS
,
tpl_vcard
)
{
"
use strict
"
;
const
{
Backbone
,
Promise
,
Strophe
,
SHA1
,
_
,
$iq
,
$build
,
b64_sha1
,
moment
,
sizzle
}
=
converse
.
env
;
...
...
src/converse.js
View file @
6dc9e8ed
...
...
@@ -21,7 +21,6 @@ if (typeof define !== 'undefined') {
"
converse-muc-views
"
,
"
converse-muc-views
"
,
// Views related to MUC
"
converse-notification
"
,
// HTML5 Notifications
"
converse-otr
"
,
// Off-the-record encryption for one-on-one messages
"
converse-ping
"
,
// XEP-0199 XMPP Ping
"
converse-roster
"
,
"
converse-register
"
,
// XEP-0077 In-band registration
...
...
src/lodash.noconflict.js
View file @
6dc9e8ed
/*global define */
define
([
'
lodash
'
],
function
(
_
)
{
if
(
!
_
.
isUndefined
(
require
)
&&
!
_
.
isUndefined
(
require
.
s
))
{
/* XXX: This is a hack to make sure that the compiled templates have
* access to the _ object.
*
* Otherwise we sometimes get errors like this:
*
* TypeError: Cannot read property 'escape' of undefined
* at eval (./src/templates/chatroom_sidebar.html:6)
*/
var
lodashLoader
=
require
.
s
.
contexts
.
_
.
config
.
lodashLoader
;
lodashLoader
.
templateSettings
.
imports
=
{
'
_
'
:
_
};
require
.
config
({
'
lodashLoader
'
:
lodashLoader
});
}
return
_
.
noConflict
();
});
src/utils/core.js
View file @
6dc9e8ed
...
...
@@ -16,10 +16,10 @@
"
backbone
"
,
"
strophe
"
,
"
uri
"
,
"
t
pl!audio
"
,
"
t
pl!file
"
,
"
t
pl!image
"
,
"
t
pl!video
"
"
t
emplates/audio.html
"
,
"
t
emplates/file.html
"
,
"
t
emplates/image.html
"
,
"
t
emplates/video.html
"
],
factory
);
}
else
{
// Used by the mockups
...
...
src/utils/form.js
View file @
6dc9e8ed
...
...
@@ -12,15 +12,15 @@
"
sizzle
"
,
"
lodash.noconflict
"
,
"
utils
"
,
"
t
pl!field
"
,
"
t
pl!select_option
"
,
"
t
pl!form_select
"
,
"
t
pl!form_textarea
"
,
"
t
pl!form_checkbox
"
,
"
t
pl!form_username
"
,
"
t
pl!form_input
"
,
"
t
pl!form_captcha
"
,
"
t
pl!form_ur
l
"
,
"
t
emplates/field.html
"
,
"
t
emplates/select_option.html
"
,
"
t
emplates/form_select.html
"
,
"
t
emplates/form_textarea.html
"
,
"
t
emplates/form_checkbox.html
"
,
"
t
emplates/form_username.html
"
,
"
t
emplates/form_input.html
"
,
"
t
emplates/form_captcha.html
"
,
"
t
emplates/form_url.htm
l
"
,
],
factory
);
}(
this
,
function
(
sizzle
,
...
...
webpack.config.js
0 → 100644
View file @
6dc9e8ed
/*global path, __dirname, module */
'
use strict
'
const
path
=
require
(
'
path
'
);
const
config
=
{
entry
:
path
.
resolve
(
__dirname
,
'
src/converse.js
'
),
externals
:
[{
"
window
"
:
"
window
"
}],
output
:
{
path
:
path
.
resolve
(
__dirname
,
'
dist
'
),
filename
:
'
converse.js
'
},
devtool
:
'
source-map
'
,
module
:
{
rules
:
[{
test
:
/
\.
html$/
,
exclude
:
/node_modules/
,
use
:
[{
loader
:
'
lodash-template-webpack-loader
'
,
options
:
{
"
escape
"
:
/
\
{
\
{
\
{([
\
s
\
S
]
+
?)
\
}
\
}
\
}
/g
,
"
evaluate
"
:
/
\{\[([\s\S]
+
?)\]\}
/g
,
"
interpolate
"
:
/
\
{
\
{([
\
s
\
S
]
+
?)
\
}
\
}
/g
,
// By default, template places the values from your data in the
// local scope via the with statement. However, you can specify
// a single variable name with the variable setting. This can
// significantly improve the speed at which a template is able
// to render.
"
variable
"
:
'
o
'
,
"
prependFilenameComment
"
:
__dirname
}
}]
},
{
test
:
/
\.
js$/
,
exclude
:
/
(
node_modules|spec|mockup
)
/
,
use
:
{
loader
:
'
babel-loader
'
,
options
:
{
presets
:
[
[
"
@babel/preset-env
"
,
{
"
targets
"
:
{
"
browsers
"
:
[
"
>1%
"
,
"
not ie 11
"
,
"
not op_mini all
"
]
}
}]
]
}
}
}],
},
resolve
:
{
modules
:
[
'
node_modules
'
,
path
.
resolve
(
__dirname
,
"
src
"
),
],
alias
:
{
"
IPv6
"
:
path
.
resolve
(
__dirname
,
"
node_modules/urijs/src/IPv6
"
),
"
SecondLevelDomains
"
:
path
.
resolve
(
__dirname
,
"
node_modules/urijs/src/SecondLevelDomains
"
),
"
awesomplete
"
:
path
.
resolve
(
__dirname
,
"
node_modules/awesomplete-avoid-xss/awesomplete
"
),
"
backbone
"
:
path
.
resolve
(
__dirname
,
"
node_modules/backbone/backbone
"
),
"
backbone.browserStorage
"
:
path
.
resolve
(
__dirname
,
"
node_modules/backbone.browserStorage/backbone.browserStorage
"
),
"
backbone.nativeview
"
:
path
.
resolve
(
__dirname
,
"
node_modules/backbone.nativeview/backbone.nativeview
"
),
"
backbone.noconflict
"
:
path
.
resolve
(
__dirname
,
"
src/backbone.noconflict
"
),
"
backbone.orderedlistview
"
:
path
.
resolve
(
__dirname
,
"
node_modules/backbone.overview/dist/backbone.orderedlistview
"
),
"
backbone.overview
"
:
path
.
resolve
(
__dirname
,
"
node_modules/backbone.overview/dist/backbone.overview
"
),
"
backbone.vdomview
"
:
path
.
resolve
(
__dirname
,
"
node_modules/backbone.vdomview/dist/backbone.vdomview
"
),
"
bootstrap
"
:
path
.
resolve
(
__dirname
,
"
node_modules/bootstrap.native/dist/bootstrap-native-v4
"
),
"
crypto
"
:
path
.
resolve
(
__dirname
,
"
node_modules/otr/build/dep/crypto
"
),
"
emojione
"
:
path
.
resolve
(
__dirname
,
"
node_modules/emojione/lib/js/emojione
"
),
"
es6-promise
"
:
path
.
resolve
(
__dirname
,
"
node_modules/es6-promise/dist/es6-promise.auto
"
),
"
filesize
"
:
path
.
resolve
(
__dirname
,
"
node_modules/filesize/lib/filesize
"
),
"
form-utils
"
:
path
.
resolve
(
__dirname
,
"
src/utils/form
"
),
"
i18n
"
:
path
.
resolve
(
__dirname
,
"
src/i18n
"
),
"
jed
"
:
path
.
resolve
(
__dirname
,
"
node_modules/jed/jed
"
),
"
jquery
"
:
path
.
resolve
(
__dirname
,
"
src/jquery-stub
"
),
"
lodash
"
:
path
.
resolve
(
__dirname
,
"
node_modules/lodash/lodash
"
),
"
lodash.converter
"
:
path
.
resolve
(
__dirname
,
"
3rdparty/lodash.fp
"
),
"
lodash.fp
"
:
path
.
resolve
(
__dirname
,
"
src/lodash.fp
"
),
"
lodash.noconflict
"
:
path
.
resolve
(
__dirname
,
"
src/lodash.noconflict
"
),
"
message-utils
"
:
path
.
resolve
(
__dirname
,
"
src/utils/message
"
),
"
muc-utils
"
:
path
.
resolve
(
__dirname
,
"
src/utils/muc
"
),
"
pluggable
"
:
path
.
resolve
(
__dirname
,
"
node_modules/pluggable.js/dist/pluggable
"
),
"
polyfill
"
:
path
.
resolve
(
__dirname
,
"
src/polyfill
"
),
"
punycode
"
:
path
.
resolve
(
__dirname
,
"
node_modules/urijs/src/punycode
"
),
"
sizzle
"
:
path
.
resolve
(
__dirname
,
"
node_modules/sizzle/dist/sizzle
"
),
"
snabbdom
"
:
path
.
resolve
(
__dirname
,
"
node_modules/snabbdom/dist/snabbdom
"
),
"
snabbdom-attributes
"
:
path
.
resolve
(
__dirname
,
"
node_modules/snabbdom/dist/snabbdom-attributes
"
),
"
snabbdom-class
"
:
path
.
resolve
(
__dirname
,
"
node_modules/snabbdom/dist/snabbdom-class
"
),
"
snabbdom-dataset
"
:
path
.
resolve
(
__dirname
,
"
node_modules/snabbdom/dist/snabbdom-dataset
"
),
"
snabbdom-eventlisteners
"
:
path
.
resolve
(
__dirname
,
"
node_modules/snabbdom/dist/snabbdom-eventlisteners
"
),
"
snabbdom-props
"
:
path
.
resolve
(
__dirname
,
"
node_modules/snabbdom/dist/snabbdom-props
"
),
"
snabbdom-style
"
:
path
.
resolve
(
__dirname
,
"
node_modules/snabbdom/dist/snabbdom-style
"
),
"
strophe
"
:
path
.
resolve
(
__dirname
,
"
node_modules/strophe.js/strophe
"
),
"
strophe.ping
"
:
path
.
resolve
(
__dirname
,
"
node_modules/strophejs-plugin-ping/strophe.ping
"
),
"
strophe.rsm
"
:
path
.
resolve
(
__dirname
,
"
node_modules/strophejs-plugin-rsm/strophe.rsm
"
),
"
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
"
:
path
.
resolve
(
__dirname
,
"
src/utils/core
"
),
"
vdom-parser
"
:
path
.
resolve
(
__dirname
,
"
node_modules/vdom-parser/dist
"
),
"
xss
"
:
path
.
resolve
(
__dirname
,
"
node_modules/xss/dist/xss
"
),
"
xss.noconflict
"
:
path
.
resolve
(
__dirname
,
"
node_modules/xss.noconflict
"
),
"
converse-bookmarks
"
:
path
.
resolve
(
__dirname
,
"
src/converse-bookmarks
"
),
"
converse-chatboxes
"
:
path
.
resolve
(
__dirname
,
"
src/converse-chatboxes
"
),
"
converse-caps
"
:
path
.
resolve
(
__dirname
,
"
src/converse-caps
"
),
"
converse-chatview
"
:
path
.
resolve
(
__dirname
,
"
src/converse-chatview
"
),
"
converse-controlbox
"
:
path
.
resolve
(
__dirname
,
"
src/converse-controlbox
"
),
"
converse-core
"
:
path
.
resolve
(
__dirname
,
"
src/converse-core
"
),
"
converse-disco
"
:
path
.
resolve
(
__dirname
,
"
src/converse-disco
"
),
"
converse-dragresize
"
:
path
.
resolve
(
__dirname
,
"
src/converse-dragresize
"
),
"
converse-embedded
"
:
path
.
resolve
(
__dirname
,
"
src/converse-embedded
"
),
"
converse-fullscreen
"
:
path
.
resolve
(
__dirname
,
"
src/converse-fullscreen
"
),
"
converse-headline
"
:
path
.
resolve
(
__dirname
,
"
src/converse-headline
"
),
"
converse-mam
"
:
path
.
resolve
(
__dirname
,
"
src/converse-mam
"
),
"
converse-message-view
"
:
path
.
resolve
(
__dirname
,
"
src/converse-message-view
"
),
"
converse-minimize
"
:
path
.
resolve
(
__dirname
,
"
src/converse-minimize
"
),
"
converse-modal
"
:
path
.
resolve
(
__dirname
,
"
src/converse-modal
"
),
"
converse-muc
"
:
path
.
resolve
(
__dirname
,
"
src/converse-muc
"
),
"
converse-muc-views
"
:
path
.
resolve
(
__dirname
,
"
src/converse-muc-views
"
),
"
converse-notification
"
:
path
.
resolve
(
__dirname
,
"
src/converse-notification
"
),
"
converse-ping
"
:
path
.
resolve
(
__dirname
,
"
src/converse-ping
"
),
"
converse-profile
"
:
path
.
resolve
(
__dirname
,
"
src/converse-profile
"
),
"
converse-register
"
:
path
.
resolve
(
__dirname
,
"
src/converse-register
"
),
"
converse-roomslist
"
:
path
.
resolve
(
__dirname
,
"
src/converse-roomslist
"
),
"
converse-roster
"
:
path
.
resolve
(
__dirname
,
"
src/converse-roster
"
),
"
converse-rosterview
"
:
path
.
resolve
(
__dirname
,
"
src/converse-rosterview
"
),
"
converse-singleton
"
:
path
.
resolve
(
__dirname
,
"
src/converse-singleton
"
),
"
converse-vcard
"
:
path
.
resolve
(
__dirname
,
"
src/converse-vcard
"
)
}
}
}
module
.
exports
=
config
;
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