signal-desktop/js/views/hint_view.js

19 lines
359 B
JavaScript
Raw Normal View History

/* global Whisper */
// eslint-disable-next-line func-names
2018-04-27 21:25:04 +00:00
(function() {
'use strict';
2018-04-27 21:25:04 +00:00
window.Whisper = window.Whisper || {};
2018-04-27 21:25:04 +00:00
Whisper.HintView = Whisper.View.extend({
templateName: 'hint',
initialize(options) {
2018-04-27 21:25:04 +00:00
this.content = options.content;
},
render_attributes() {
2018-04-27 21:25:04 +00:00
return { content: this.content };
},
});
})();