It is now possible to ignore items of missing rules.

This commit is contained in:
Julien Fontanet 2014-01-13 17:17:41 +01:00
parent 53dff59c6a
commit e73ac0af22

View File

@ -299,9 +299,10 @@ class $MappedCollection2 extends $EventEmitter
unless rule?
@missingRule ruleName
# The flow has not been interrupted, `missingRule()` must have
# created the rule.
# If `missingRule()` has not created the rule, just keep this
# item.
rule = @_rules[ruleName]
return unless rule?
# Checks if this is a singleton.
@_assert(