From 33b47bd5d476ce20e72142c93bffff945f1f8bdc Mon Sep 17 00:00:00 2001 From: vsavkin Date: Fri, 5 Dec 2014 19:01:16 -0800 Subject: [PATCH] fix(view): fix DirectivePropertyGroupMemento to return a new group instead of null --- modules/core/src/compiler/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/compiler/view.js b/modules/core/src/compiler/view.js index df3df0016a..c1a6e74848 100644 --- a/modules/core/src/compiler/view.js +++ b/modules/core/src/compiler/view.js @@ -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); }