You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// TODO: This file was created by bulk-decaffeinate.
|
|
|
|
// Sanity-check the conversion and remove this comment.
|
|
|
|
/*
|
|
|
|
* decaffeinate suggestions:
|
|
|
|
* DS206: Consider reworking classes to avoid initClass
|
|
|
|
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/main/docs/suggestions.md
|
|
|
|
*/
|
|
|
|
//= require views/misc/notif
|
|
|
|
|
|
|
|
const Cls = (app.views.Tip = class Tip extends app.views.Notif {
|
|
|
|
static initClass() {
|
|
|
|
this.className = "_notif _notif-tip";
|
|
|
|
|
|
|
|
this.defautOptions = { autoHide: false };
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
this.html(this.tmpl(`tip${this.type}`));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
Cls.initClass();
|