Debian Codegraph @

skins/MinervaNeue/resources/skins.minerva.scripts/page-issues/overlay/IssueNotice.js

raw symbols SCIP
1 const
2 mobile = require( 'mobile.startup' ),
3 View = mobile.View;
4
5 /**
6 * IssueNotice
7 *
8 * @class
9 * @ignore
10 * @extends View
11 *
12 * @param {IssueSummary} props
13 */
14 function IssueNotice( props ) {
15 View.call( this, props );
16 }
17 OO.inheritClass( IssueNotice, View );
18 IssueNotice.prototype.tagName = 'li';
19 IssueNotice.prototype.template = mw.template.get( 'skins.minerva.scripts', 'IssueNotice.mustache' );
20 IssueNotice.prototype.postRender = function () {
21 View.prototype.postRender.apply( this, arguments );
22 this.$el.find( '.issue-notice' ).prepend( this.options.issue.iconElement );
23 };
24 module.exports = IssueNotice;