signal-desktop/js/views/attachment_preview_view.js

16 lines
358 B
JavaScript
Raw Normal View History

/*
* vim: ts=4:sw=4:expandtab
2015-01-16 23:39:01 +00:00
*/
(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};
2015-01-16 23:39:01 +00:00
}
});
})();