mediawiki-extensions-Visual.../modules/ve2/ve.LeafNode.js
Trevor Parscal 429225fb57 Whitespace fixes (jshint was tweaking out)
Change-Id: Id75a097ae4958029caf0a0315343c2fab9c99b89
2012-06-13 16:06:21 -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;
};