mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-27 20:26:46 +00:00
4d03be0301
Change-Id: I0b9538a89cba4c36d1a8af7395476b9612d18637
21 lines
281 B
JavaScript
21 lines
281 B
JavaScript
/**
|
|
* Mixin for leaf nodes
|
|
*
|
|
* @class
|
|
* @abstract
|
|
* @constructor
|
|
*/
|
|
ve.LeafNode = function() {
|
|
//
|
|
};
|
|
|
|
/**
|
|
* Checks if this node can have children.
|
|
*
|
|
* @method
|
|
* @returns {Boolean} Always false
|
|
*/
|
|
ve.LeafNode.prototype.canHaveChildren = function() {
|
|
return false;
|
|
};
|