fix(view): fix DirectivePropertyGroupMemento to return a new group instead of null

This commit is contained in:
vsavkin 2014-12-05 19:01:16 -08:00
parent 8db77f2405
commit 33b47bd5d4
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ class DirectivePropertyGroupMemento {
var id = elementInjectorIndex * 100 + directiveIndex;
if (! MapWrapper.contains(_groups, id)) {
return MapWrapper.set(_groups, id, new DirectivePropertyGroupMemento(elementInjectorIndex, directiveIndex));
MapWrapper.set(_groups, id, new DirectivePropertyGroupMemento(elementInjectorIndex, directiveIndex));
}
return MapWrapper.get(_groups, id);
}