modules/ve-mw/ce/nodes/ve.ce.MWSignatureNode.js
Function generateContents
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ve.ce.MWSignatureNode.prototype.generateContents = function () {
const doc = this.getModel().getDocument();
let abortable, aborted;
const abortedPromise = ve.createDeferred().reject( 'http',
{ textStatus: 'abort', exception: 'abort' } ).promise();