mediawiki-extensions-Visual.../modules/ve/ve.LeafNode.js
Catrope 6afed5e5cc Move ve2/ back to ve/
Change-Id: Ie51d8e48171fb1f84045d1560ee603cee62b91f6
2012-06-19 18:20:28 -07:00

24 lines
347 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;
};