2015-09-07 23:53:43 +02:00
|
|
|
/*
|
|
|
|
* vim: ts=4:sw=4:expandtab
|
2015-01-17 00:39:01 +01:00
|
|
|
*/
|
|
|
|
(function () {
|
|
|
|
'use strict';
|
2015-03-06 00:44:53 +01:00
|
|
|
window.Whisper = window.Whisper || {};
|
|
|
|
|
2015-03-06 00:25:49 +01:00
|
|
|
Whisper.AttachmentPreviewView = Whisper.View.extend({
|
2015-03-03 03:27:14 +01:00
|
|
|
className: 'attachment-preview',
|
2015-03-06 00:25:49 +01:00
|
|
|
template: $('#attachment-preview').html(),
|
2015-03-07 02:05:36 +01:00
|
|
|
render_attributes: function() {
|
2015-03-06 00:25:49 +01:00
|
|
|
return {source: this.src};
|
2015-01-17 00:39:01 +01:00
|
|
|
}
|
|
|
|
});
|
|
|
|
})();
|