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