Fixed the list... again!

This commit is contained in:
hydrabolt
2015-08-20 16:55:43 +01:00
parent 419ac718e8
commit f65515fa55
4 changed files with 13 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ exports.List.prototype.add = function( child ) {
self.splice( 0, 1 );
}
if ( self.filter( self.discriminator, child[ self.discriminator ] ).length === 0 )
if ( self.filter( self.discriminator, child[ self.discriminator ] ).length() === 0 )
self.contents.push( child );
}
}