mediawiki-extensions-Visual.../modules/ve/ve.LeafNode.js
Trevor Parscal 255ce870e2 Puttin' em white-spacers where they aught'a be
function() -> function ()
){ -> ) {

Change-Id: I20a85fcf79d7aec64f7f2559e84c0279550d4eea
2012-08-06 18:52:19 -07:00

31 lines
514 B
JavaScript

/**
* VisualEditor LeafNode class.
*
* @copyright 2011-2012 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* 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;
};