modules/ve-mw/ce/nodes/ve.ce.MWImageNode.js
Function generateContents
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ve.ce.MWImageNode.prototype.generateContents = function () {
const model = this.getModel(),
height = model.getAttribute( 'height' ),
mwData = model.getAttribute( 'mw' ) || {},
deferred = ve.createDeferred();