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
5e68364e
Commit
5e68364e
authored
Aug 08, 2017
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Regenerated dist files.
parent
805db75e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
21 deletions
+33
-21
dist/converse-mobile.js
dist/converse-mobile.js
+12
-7
dist/converse-no-dependencies.js
dist/converse-no-dependencies.js
+9
-7
dist/inverse.js
dist/inverse.js
+12
-7
No files found.
dist/converse-mobile.js
View file @
5e68364e
...
@@ -49781,8 +49781,7 @@ return Backbone.BrowserStorage;
...
@@ -49781,8 +49781,7 @@ return Backbone.BrowserStorage;
};
};
this.giveFeedback = function (subject, klass, message) {
this.giveFeedback = function (subject, klass, message) {
var els = document.querySelectorAll('.conn-feedback');
_.forEach(document.querySelectorAll('.conn-feedback'), function (el) {
_.forEach(els, function (el) {
el.classList.add('conn-feedback');
el.classList.add('conn-feedback');
el.textContent = subject;
el.textContent = subject;
if (klass) {
if (klass) {
...
@@ -55186,7 +55185,7 @@ return __p
...
@@ -55186,7 +55185,7 @@ return __p
initialize: function initialize() {
initialize: function initialize() {
this.model.on('change:current_skintone', this.render, this);
this.model.on('change:current_skintone', this.render, this);
this.model.on('change:current_category', this.render, this);
this.model.on('change:current_category', this.render, this);
this.setScrollPosition = _.debounce(this.setScrollPosition, 50);
this.setScrollPosition = _.debounce(this.setScrollPosition, 50)
.bind(this)
;
},
},
render: function render() {
render: function render() {
var _this = this;
var _this = this;
...
@@ -55199,8 +55198,8 @@ return __p
...
@@ -55199,8 +55198,8 @@ return __p
'shouldBeHidden': this.shouldBeHidden
'shouldBeHidden': this.shouldBeHidden
}));
}));
this.el.innerHTML = emojis_html;
this.el.innerHTML = emojis_html;
this.el.querySelectorAll('.emoji-picker').forEach(
function (el) {
_.forEach(this.el.querySelectorAll('.emoji-picker'),
function (el) {
el.addEventListener('scroll', _this.setScrollPosition
.bind(_this)
);
el.addEventListener('scroll', _this.setScrollPosition);
});
});
this.restoreScrollPosition();
this.restoreScrollPosition();
return this;
return this;
...
@@ -55227,7 +55226,7 @@ return __p
...
@@ -55227,7 +55226,7 @@ return __p
current_picker[0].scrollTop = this.model.get('scroll_position');
current_picker[0].scrollTop = this.model.get('scroll_position');
}
}
},
},
setScrollPosition: function setScrollPosition(ev
, position
) {
setScrollPosition: function setScrollPosition(ev) {
this.model.save('scroll_position', ev.target.scrollTop);
this.model.save('scroll_position', ev.target.scrollTop);
},
},
chooseSkinTone: function chooseSkinTone(ev) {
chooseSkinTone: function chooseSkinTone(ev) {
...
@@ -58827,7 +58826,10 @@ Strophe.addConnectionPlugin('disco',
...
@@ -58827,7 +58826,10 @@ Strophe.addConnectionPlugin('disco',
},
},
openChatRoom: function openChatRoom(ev) {
openChatRoom: function openChatRoom(ev) {
ev.preventDefault();
ev.preventDefault();
_converse.openChatRoom(this.parseRoomDataFromEvent(ev));
var data = this.parseRoomDataFromEvent(ev);
if (!_.isUndefined(data)) {
_converse.openChatRoom(data);
}
},
},
setDomain: function setDomain(ev) {
setDomain: function setDomain(ev) {
this.model.save({ muc_domain: ev.target.value });
this.model.save({ muc_domain: ev.target.value });
...
@@ -71177,6 +71179,9 @@ return __p
...
@@ -71177,6 +71179,9 @@ return __p
* user. They should always be shown.
* user. They should always be shown.
*/
*/
var result = this.__super__.parseRoomDataFromEvent.apply(this, arguments);
var result = this.__super__.parseRoomDataFromEvent.apply(this, arguments);
if (_.isUndefined(result)) {
return;
}
result.hidden = false;
result.hidden = false;
return result;
return result;
}
}
dist/converse-no-dependencies.js
View file @
5e68364e
...
@@ -8169,8 +8169,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
...
@@ -8169,8 +8169,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
};
};
this.giveFeedback = function (subject, klass, message) {
this.giveFeedback = function (subject, klass, message) {
var els = document.querySelectorAll('.conn-feedback');
_.forEach(document.querySelectorAll('.conn-feedback'), function (el) {
_.forEach(els, function (el) {
el.classList.add('conn-feedback');
el.classList.add('conn-feedback');
el.textContent = subject;
el.textContent = subject;
if (klass) {
if (klass) {
...
@@ -12480,7 +12479,7 @@ return __p
...
@@ -12480,7 +12479,7 @@ return __p
initialize: function initialize() {
initialize: function initialize() {
this.model.on('change:current_skintone', this.render, this);
this.model.on('change:current_skintone', this.render, this);
this.model.on('change:current_category', this.render, this);
this.model.on('change:current_category', this.render, this);
this.setScrollPosition = _.debounce(this.setScrollPosition, 50);
this.setScrollPosition = _.debounce(this.setScrollPosition, 50)
.bind(this)
;
},
},
render: function render() {
render: function render() {
var _this = this;
var _this = this;
...
@@ -12493,8 +12492,8 @@ return __p
...
@@ -12493,8 +12492,8 @@ return __p
'shouldBeHidden': this.shouldBeHidden
'shouldBeHidden': this.shouldBeHidden
}));
}));
this.el.innerHTML = emojis_html;
this.el.innerHTML = emojis_html;
this.el.querySelectorAll('.emoji-picker').forEach(
function (el) {
_.forEach(this.el.querySelectorAll('.emoji-picker'),
function (el) {
el.addEventListener('scroll', _this.setScrollPosition
.bind(_this)
);
el.addEventListener('scroll', _this.setScrollPosition);
});
});
this.restoreScrollPosition();
this.restoreScrollPosition();
return this;
return this;
...
@@ -12521,7 +12520,7 @@ return __p
...
@@ -12521,7 +12520,7 @@ return __p
current_picker[0].scrollTop = this.model.get('scroll_position');
current_picker[0].scrollTop = this.model.get('scroll_position');
}
}
},
},
setScrollPosition: function setScrollPosition(ev
, position
) {
setScrollPosition: function setScrollPosition(ev) {
this.model.save('scroll_position', ev.target.scrollTop);
this.model.save('scroll_position', ev.target.scrollTop);
},
},
chooseSkinTone: function chooseSkinTone(ev) {
chooseSkinTone: function chooseSkinTone(ev) {
...
@@ -18593,7 +18592,10 @@ return __p
...
@@ -18593,7 +18592,10 @@ return __p
},
},
openChatRoom: function openChatRoom(ev) {
openChatRoom: function openChatRoom(ev) {
ev.preventDefault();
ev.preventDefault();
_converse.openChatRoom(this.parseRoomDataFromEvent(ev));
var data = this.parseRoomDataFromEvent(ev);
if (!_.isUndefined(data)) {
_converse.openChatRoom(data);
}
},
},
setDomain: function setDomain(ev) {
setDomain: function setDomain(ev) {
this.model.save({ muc_domain: ev.target.value });
this.model.save({ muc_domain: ev.target.value });
dist/inverse.js
View file @
5e68364e
...
@@ -49781,8 +49781,7 @@ return Backbone.BrowserStorage;
...
@@ -49781,8 +49781,7 @@ return Backbone.BrowserStorage;
};
};
this.giveFeedback = function (subject, klass, message) {
this.giveFeedback = function (subject, klass, message) {
var els = document.querySelectorAll('.conn-feedback');
_.forEach(document.querySelectorAll('.conn-feedback'), function (el) {
_.forEach(els, function (el) {
el.classList.add('conn-feedback');
el.classList.add('conn-feedback');
el.textContent = subject;
el.textContent = subject;
if (klass) {
if (klass) {
...
@@ -54092,7 +54091,7 @@ return __p
...
@@ -54092,7 +54091,7 @@ return __p
initialize: function initialize() {
initialize: function initialize() {
this.model.on('change:current_skintone', this.render, this);
this.model.on('change:current_skintone', this.render, this);
this.model.on('change:current_category', this.render, this);
this.model.on('change:current_category', this.render, this);
this.setScrollPosition = _.debounce(this.setScrollPosition, 50);
this.setScrollPosition = _.debounce(this.setScrollPosition, 50)
.bind(this)
;
},
},
render: function render() {
render: function render() {
var _this = this;
var _this = this;
...
@@ -54105,8 +54104,8 @@ return __p
...
@@ -54105,8 +54104,8 @@ return __p
'shouldBeHidden': this.shouldBeHidden
'shouldBeHidden': this.shouldBeHidden
}));
}));
this.el.innerHTML = emojis_html;
this.el.innerHTML = emojis_html;
this.el.querySelectorAll('.emoji-picker').forEach(
function (el) {
_.forEach(this.el.querySelectorAll('.emoji-picker'),
function (el) {
el.addEventListener('scroll', _this.setScrollPosition
.bind(_this)
);
el.addEventListener('scroll', _this.setScrollPosition);
});
});
this.restoreScrollPosition();
this.restoreScrollPosition();
return this;
return this;
...
@@ -54133,7 +54132,7 @@ return __p
...
@@ -54133,7 +54132,7 @@ return __p
current_picker[0].scrollTop = this.model.get('scroll_position');
current_picker[0].scrollTop = this.model.get('scroll_position');
}
}
},
},
setScrollPosition: function setScrollPosition(ev
, position
) {
setScrollPosition: function setScrollPosition(ev) {
this.model.save('scroll_position', ev.target.scrollTop);
this.model.save('scroll_position', ev.target.scrollTop);
},
},
chooseSkinTone: function chooseSkinTone(ev) {
chooseSkinTone: function chooseSkinTone(ev) {
...
@@ -60985,7 +60984,10 @@ Strophe.addConnectionPlugin('disco',
...
@@ -60985,7 +60984,10 @@ Strophe.addConnectionPlugin('disco',
},
},
openChatRoom: function openChatRoom(ev) {
openChatRoom: function openChatRoom(ev) {
ev.preventDefault();
ev.preventDefault();
_converse.openChatRoom(this.parseRoomDataFromEvent(ev));
var data = this.parseRoomDataFromEvent(ev);
if (!_.isUndefined(data)) {
_converse.openChatRoom(data);
}
},
},
setDomain: function setDomain(ev) {
setDomain: function setDomain(ev) {
this.model.save({ muc_domain: ev.target.value });
this.model.save({ muc_domain: ev.target.value });
...
@@ -71694,6 +71696,9 @@ return __p
...
@@ -71694,6 +71696,9 @@ return __p
* user. They should always be shown.
* user. They should always be shown.
*/
*/
var result = this.__super__.parseRoomDataFromEvent.apply(this, arguments);
var result = this.__super__.parseRoomDataFromEvent.apply(this, arguments);
if (_.isUndefined(result)) {
return;
}
result.hidden = false;
result.hidden = false;
return result;
return result;
}
}
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