Merge "Followup c41f96c: doc parameter in ve.dm.InternalList constructor is not optional, remove check"

This commit is contained in:
jenkins-bot 2013-10-23 19:31:15 +00:00 committed by Gerrit Code Review
commit 3132bc8a24

View file

@ -29,9 +29,7 @@ ve.dm.InternalList = function VeDmInternalList( doc ) {
this.nextUniqueNumber = 0;
// Event handlers
if ( doc ) {
doc.connect( this, { 'transact': 'onTransact' } );
}
this.document.connect( this, { 'transact': 'onTransact' } );
};
/* Inheritance */