12 lines
295 B
JavaScript
12 lines
295 B
JavaScript
(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 };
|
|
},
|
|
});
|
|
})();
|