revert: feat(ivy): improve debugging experience for styles/classes (#32753) (#32841)

This reverts commit 32f4544f34.

PR Close #32841
This commit is contained in:
Matias Niemelä
2019-09-24 14:50:13 -07:00
committed by Andrew Kushnir
parent 3a96631387
commit e668d7971d
5 changed files with 23 additions and 160 deletions

View File

@ -498,7 +498,7 @@ function getContext(tNode: TNode, isClassBased: boolean): TStylingContext {
if (!isStylingContext(context)) {
context = allocTStylingContext(context as StylingMapArray | null);
if (ngDevMode) {
attachStylingDebugObject(context as TStylingContext, isClassBased);
attachStylingDebugObject(context as TStylingContext);
}
if (isClassBased) {
tNode.classes = context;