From 08d86751b953c6ca20af4d03145281ef8f7141c0 Mon Sep 17 00:00:00 2001 From: Rob Wormald Date: Wed, 22 Mar 2017 21:26:53 -0700 Subject: [PATCH] fix(compiler): only log template deprecation warning once (#15364) --- .../src/template_parser/template_parser.ts | 29 +++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/packages/compiler/src/template_parser/template_parser.ts b/packages/compiler/src/template_parser/template_parser.ts index 40767f2bab..fd8e008573 100644 --- a/packages/compiler/src/template_parser/template_parser.ts +++ b/packages/compiler/src/template_parser/template_parser.ts @@ -63,6 +63,23 @@ const CLASS_ATTR = 'class'; const TEXT_CSS_SELECTOR = CssSelector.parse('*')[0]; +const TEMPLATE_ELEMENT_DEPRECATION_WARNING = + 'The