mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Merge "Remove attributes from DocumentNode constructor"
This commit is contained in:
commit
c3c909d2ab
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue