Cable-Desktop/js/views/attachment_preview_view.js

16 lines
365 B
JavaScript
Raw Normal View History

/*
* vim: ts=4:sw=4:expandtab
2015-01-17 00:39:01 +01:00
*/
(function () {
'use strict';
window.Whisper = window.Whisper || {};
Whisper.AttachmentPreviewView = Whisper.View.extend({
className: 'attachment-preview',
template: $('#attachment-preview').html(),
render_attributes: function() {
return {source: this.src};
2015-01-17 00:39:01 +01:00
}
});
})();