mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Merge "Followup c41f96c
: doc parameter in ve.dm.InternalList constructor is not optional, remove check"
This commit is contained in:
commit
3132bc8a24
|
@ -29,9 +29,7 @@ ve.dm.InternalList = function VeDmInternalList( doc ) {
|
||||||
this.nextUniqueNumber = 0;
|
this.nextUniqueNumber = 0;
|
||||||
|
|
||||||
// Event handlers
|
// Event handlers
|
||||||
if ( doc ) {
|
this.document.connect( this, { 'transact': 'onTransact' } );
|
||||||
doc.connect( this, { 'transact': 'onTransact' } );
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Inheritance */
|
/* Inheritance */
|
||||||
|
|
Loading…
Reference in a new issue