Merge "Remove attributes from DocumentNode constructor"

This commit is contained in:
Trevor Parscal 2012-08-17 17:40:57 +00:00 committed by Gerrit Code Review
commit c3c909d2ab

View file

@ -12,11 +12,10 @@
* @constructor
* @extends {ve.dm.BranchNode}
* @param {ve.dm.BranchNode[]} [children] Child nodes to attach
* @param {Object} [attributes] Reference to map of attribute key/value pairs
*/
ve.dm.DocumentNode = function ( children, attributes ) {
ve.dm.DocumentNode = function ( children ) {
// Inheritance
ve.dm.BranchNode.call( this, 'document', children, attributes );
ve.dm.BranchNode.call( this, 'document', children );
};
/* Static Members */