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