signal-desktop/js/views/attachment_preview_view.js
2018-04-30 16:53:34 -04:00

15 lines
330 B
JavaScript

/*
* vim: ts=4:sw=4:expandtab
*/
(function() {
'use strict';
window.Whisper = window.Whisper || {};
Whisper.AttachmentPreviewView = Whisper.View.extend({
className: 'attachment-preview',
templateName: 'attachment-preview',
render_attributes: function() {
return { source: this.src };
},
});
})();