"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "js/views/whisper_view.js" between
Signal-Desktop-1.35.2.tar.gz and Signal-Desktop-1.36.1.tar.gz

About: Signal-Desktop is a cross-platform encrypted messaging service (also available for mobile devices).

whisper_view.js  (Signal-Desktop-1.35.2):whisper_view.js  (Signal-Desktop-1.36.1)
skipping to change at line 25 skipping to change at line 25
* *
* 3. Makes all the templates available for rendering as partials. * 3. Makes all the templates available for rendering as partials.
* https://github.com/janl/mustache.js#partials * https://github.com/janl/mustache.js#partials
* *
* 4. Provides some common functionality, e.g. confirmation dialog * 4. Provides some common functionality, e.g. confirmation dialog
* *
*/ */
// eslint-disable-next-line func-names // eslint-disable-next-line func-names
(function() { (function() {
'use strict';
window.Whisper = window.Whisper || {}; window.Whisper = window.Whisper || {};
Whisper.View = Backbone.View.extend( Whisper.View = Backbone.View.extend(
{ {
constructor(...params) { constructor(...params) {
Backbone.View.call(this, ...params); Backbone.View.call(this, ...params);
Mustache.parse(_.result(this, 'template')); Mustache.parse(_.result(this, 'template'));
}, },
render_attributes() { render_attributes() {
return _.result(this.model, 'attributes', {}); return _.result(this.model, 'attributes', {});
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)