Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | 1x 2x 2x 1x 1x 1x 1x 2x 1x | /*! * VisualEditor ContentEditable AlienTableCellNode class. * * @copyright See AUTHORS.txt */ /** * ContentEditable alien table cell node. * * @class * @extends ve.ce.AlienNode * * @constructor * @param {ve.dm.AlienTableCellNode} model * @param {Object} [config] */ ve.ce.AlienTableCellNode = function VeCeAlienTableCellNode() { // Parent constructor ve.ce.AlienTableCellNode.super.apply( this, arguments ); // Mixin constructors ve.ce.TableCellableNode.call( this ); }; /* Inheritance */ OO.inheritClass( ve.ce.AlienTableCellNode, ve.ce.AlienNode ); OO.mixinClass( ve.ce.AlienTableCellNode, ve.ce.TableCellableNode ); /* Static Properties */ ve.ce.AlienTableCellNode.static.name = 'alienTableCell'; /* Methods */ ve.ce.AlienTableCellNode.prototype.getTagName = function () { // alienTableCells have no style attribute. Give them a table // cell to start with, although it will get overwritten with // originalDomElements. return 'td'; }; /* Registration */ ve.ce.nodeFactory.register( ve.ce.AlienTableCellNode ); |