mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
24 lines
390 B
JavaScript
24 lines
390 B
JavaScript
/**
|
|
* Creates an es.DocumentLeafNode object.
|
|
*
|
|
* @class
|
|
* @abstract
|
|
* @constructor
|
|
*/
|
|
es.DocumentLeafNode = function() {
|
|
//
|
|
};
|
|
|
|
/* Methods */
|
|
|
|
/**
|
|
* Checks if this node has child nodes.
|
|
*
|
|
* @method
|
|
* @see {es.DocumentNode.prototype.hasChildren}
|
|
* @returns {Boolean} Whether this node has children
|
|
*/
|
|
es.DocumentLeafNode.prototype.hasChildren = function() {
|
|
return false;
|
|
};
|