mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
24 lines
358 B
JavaScript
24 lines
358 B
JavaScript
/**
|
|
* Creates an ve.LeafNode object.
|
|
*
|
|
* @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;
|
|
};
|