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
7753177c
Commit
7753177c
authored
Jan 25, 2019
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary aliases from webpack
parent
9702e9de
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
20 deletions
+17
-20
dist/converse.js
dist/converse.js
+12
-12
src/converse-chatview.js
src/converse-chatview.js
+1
-1
src/converse-controlbox.js
src/converse-controlbox.js
+1
-1
src/converse-modal.js
src/converse-modal.js
+1
-1
src/converse-profile.js
src/converse-profile.js
+1
-1
webpack.config.js
webpack.config.js
+1
-4
No files found.
dist/converse.js
View file @
7753177c
...
...
@@ -49350,8 +49350,8 @@ __webpack_require__.r(__webpack_exports__);
/* harmony import */ var converse_message_view__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! converse-message-view */ "./src/converse-message-view.js");
/* harmony import */ var converse_modal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! converse-modal */ "./src/converse-modal.js");
/* harmony import */ var twemoji__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! twemoji */ "./node_modules/twemoji/2/esm.js");
/* harmony import */ var bootstrap_
_WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! bootstrap
*/ "./node_modules/bootstrap.native/dist/bootstrap-native-v4.js");
/* harmony import */ var bootstrap_
_WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(bootstrap
__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var bootstrap_
native__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! bootstrap.native
*/ "./node_modules/bootstrap.native/dist/bootstrap-native-v4.js");
/* harmony import */ var bootstrap_
native__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(bootstrap_native
__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @converse/headless/converse-core */ "./src/headless/converse-core.js");
/* harmony import */ var templates_alert_html__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! templates/alert.html */ "./src/templates/alert.html");
/* harmony import */ var templates_alert_html__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(templates_alert_html__WEBPACK_IMPORTED_MODULE_6__);
...
...
@@ -50504,7 +50504,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_5__["default"].plugins
this.insertEmojiPicker();
this.renderEmojiPicker();
const dropdown_el = this.el.querySelector('.toggle-smiley.dropup');
this.emoji_dropdown = new bootstrap__WEBPACK_IMPORTED_MODULE_4___default.a.Dropdown(dropdown_el, true);
this.emoji_dropdown = new bootstrap_
native_
_WEBPACK_IMPORTED_MODULE_4___default.a.Dropdown(dropdown_el, true);
this.emoji_dropdown.el = dropdown_el;
this.emoji_dropdown.toggle();
}
...
...
@@ -50819,8 +50819,8 @@ __webpack_require__.r(__webpack_exports__);
/* harmony import */ var converse_rosterview__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! converse-rosterview */ "./src/converse-rosterview.js");
/* harmony import */ var formdata_polyfill__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! formdata-polyfill */ "./node_modules/formdata-polyfill/FormData.js");
/* harmony import */ var formdata_polyfill__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(formdata_polyfill__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var bootstrap_
_WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! bootstrap
*/ "./node_modules/bootstrap.native/dist/bootstrap-native-v4.js");
/* harmony import */ var bootstrap_
_WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(bootstrap
__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var bootstrap_
native__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! bootstrap.native
*/ "./node_modules/bootstrap.native/dist/bootstrap-native-v4.js");
/* harmony import */ var bootstrap_
native__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(bootstrap_native
__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @converse/headless/converse-core */ "./src/headless/converse-core.js");
/* harmony import */ var _converse_headless_lodash_fp__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @converse/headless/lodash.fp */ "./src/headless/lodash.fp.js");
/* harmony import */ var _converse_headless_lodash_fp__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_converse_headless_lodash_fp__WEBPACK_IMPORTED_MODULE_6__);
...
...
@@ -51304,7 +51304,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_5__["default"].plugins
initPopovers() {
_.forEach(this.el.querySelectorAll('[data-title]'), el => {
const popover = new bootstrap__WEBPACK_IMPORTED_MODULE_4___default.a.Popover(el, {
const popover = new bootstrap_
native_
_WEBPACK_IMPORTED_MODULE_4___default.a.Popover(el, {
'trigger': _converse.view_mode === 'mobile' && 'click' || 'hover',
'dismissible': _converse.view_mode === 'mobile' && true || false,
'container': this.el.parentElement.parentElement.parentElement
...
...
@@ -53227,8 +53227,8 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_1__["default"].plugins
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var backbone_vdomview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! backbone.vdomview */ "./node_modules/backbone.vdomview/backbone.vdomview.js");
/* harmony import */ var backbone_vdomview__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone_vdomview__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var bootstrap_
_WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! bootstrap
*/ "./node_modules/bootstrap.native/dist/bootstrap-native-v4.js");
/* harmony import */ var bootstrap_
_WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(bootstrap
__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var bootstrap_
native__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! bootstrap.native
*/ "./node_modules/bootstrap.native/dist/bootstrap-native-v4.js");
/* harmony import */ var bootstrap_
native__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(bootstrap_native
__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @converse/headless/converse-core */ "./src/headless/converse-core.js");
/* harmony import */ var templates_alert_modal_html__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! templates/alert_modal.html */ "./src/templates/alert_modal.html");
/* harmony import */ var templates_alert_modal_html__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(templates_alert_modal_html__WEBPACK_IMPORTED_MODULE_3__);
...
...
@@ -53251,7 +53251,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_2__["default"].plugins
_converse.BootstrapModal = Backbone.VDOMView.extend({
initialize() {
this.render().insertIntoDOM();
this.modal = new bootstrap__WEBPACK_IMPORTED_MODULE_1___default.a.Modal(this.el, {
this.modal = new bootstrap_
native_
_WEBPACK_IMPORTED_MODULE_1___default.a.Modal(this.el, {
backdrop: 'static',
keyboard: true
});
...
...
@@ -57413,8 +57413,8 @@ __webpack_require__.r(__webpack_exports__);
/* harmony import */ var converse_modal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! converse-modal */ "./src/converse-modal.js");
/* harmony import */ var formdata_polyfill__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! formdata-polyfill */ "./node_modules/formdata-polyfill/FormData.js");
/* harmony import */ var formdata_polyfill__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(formdata_polyfill__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var bootstrap_
_WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! bootstrap
*/ "./node_modules/bootstrap.native/dist/bootstrap-native-v4.js");
/* harmony import */ var bootstrap_
_WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(bootstrap
__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var bootstrap_
native__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! bootstrap.native
*/ "./node_modules/bootstrap.native/dist/bootstrap-native-v4.js");
/* harmony import */ var bootstrap_
native__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(bootstrap_native
__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @converse/headless/converse-core */ "./src/headless/converse-core.js");
/* harmony import */ var templates_chat_status_modal_html__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! templates/chat_status_modal.html */ "./src/templates/chat_status_modal.html");
/* harmony import */ var templates_chat_status_modal_html__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(templates_chat_status_modal_html__WEBPACK_IMPORTED_MODULE_5__);
...
...
@@ -57497,7 +57497,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_4__["default"].plugins
},
afterRender() {
this.tabs = _.map(this.el.querySelectorAll('.nav-item'), tab => new bootstrap__WEBPACK_IMPORTED_MODULE_3___default.a.Tab(tab));
this.tabs = _.map(this.el.querySelectorAll('.nav-item'), tab => new bootstrap_
native_
_WEBPACK_IMPORTED_MODULE_3___default.a.Tab(tab));
},
openFileSelection(ev) {
src/converse-chatview.js
View file @
7753177c
...
...
@@ -8,7 +8,7 @@ import "converse-chatboxviews";
import
"
converse-message-view
"
;
import
"
converse-modal
"
;
import
*
as
twemoji
from
"
twemoji
"
;
import
bootstrap
from
"
bootstrap
"
;
import
bootstrap
from
"
bootstrap
.native
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
tpl_alert
from
"
templates/alert.html
"
;
import
tpl_chatbox
from
"
templates/chatbox.html
"
;
...
...
src/converse-controlbox.js
View file @
7753177c
...
...
@@ -10,7 +10,7 @@ import "converse-chatview";
import
"
converse-profile
"
;
import
"
converse-rosterview
"
;
import
_FormData
from
"
formdata-polyfill
"
;
import
bootstrap
from
"
bootstrap
"
;
import
bootstrap
from
"
bootstrap
.native
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
fp
from
"
@converse/headless/lodash.fp
"
;
import
tpl_brand_heading
from
"
templates/converse_brand_heading.html
"
;
...
...
src/converse-modal.js
View file @
7753177c
...
...
@@ -5,7 +5,7 @@
// Licensed under the Mozilla Public License (MPLv2)
import
"
backbone.vdomview
"
;
import
bootstrap
from
"
bootstrap
"
;
import
bootstrap
from
"
bootstrap
.native
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
tpl_alert_modal
from
"
templates/alert_modal.html
"
;
...
...
src/converse-profile.js
View file @
7753177c
...
...
@@ -9,7 +9,7 @@
import
"
@converse/headless/converse-vcard
"
;
import
"
converse-modal
"
;
import
_FormData
from
"
formdata-polyfill
"
;
import
bootstrap
from
"
bootstrap
"
;
import
bootstrap
from
"
bootstrap
.native
"
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
tpl_chat_status_modal
from
"
templates/chat_status_modal.html
"
;
import
tpl_client_info_modal
from
"
templates/client_info_modal.html
"
;
...
...
webpack.config.js
View file @
7753177c
...
...
@@ -84,10 +84,9 @@ const config = {
"
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
"
),
"
bootstrap
"
:
path
.
resolve
(
__dirname
,
"
node_modules/bootstrap.native/dist/bootstrap-native-v4
"
),
"
bootstrap
.native
"
:
path
.
resolve
(
__dirname
,
"
node_modules/bootstrap.native/dist/bootstrap-native-v4
"
),
"
formdata-polyfill
"
:
path
.
resolve
(
__dirname
,
"
node_modules/formdata-polyfill/FormData
"
),
"
jquery
"
:
path
.
resolve
(
__dirname
,
"
src/jquery-stub
"
),
"
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
"
),
"
snabbdom-attributes
"
:
path
.
resolve
(
__dirname
,
"
node_modules/snabbdom/dist/snabbdom-attributes
"
),
...
...
@@ -98,8 +97,6 @@ const config = {
"
snabbdom-style
"
:
path
.
resolve
(
__dirname
,
"
node_modules/snabbdom/dist/snabbdom-style
"
),
"
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
"
),
"
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