mediawiki-extensions-Visual.../modules/ve2/ve.LeafNode.js
Christian Williams 6d15028c68 Making showCursor work again!
Change-Id: I97e1570ffba368e570b69085daa2798b8b2725f9
2012-05-18 15:19:31 -07:00

24 lines
348 B
JavaScript

/**
* Mixin for leaf nodes.
*
* @class
* @abstract
* @constructor
*/
ve.LeafNode = function() {
//
};
/* Methods */
/**
* Checks if this node has child nodes.
*
* @method
* @see {ve.Node.prototype.hasChildren}
* @returns {Boolean} Whether this node has children
*/
ve.LeafNode.prototype.hasChildren = function() {
return false;
};