From 9b3a548f6f824b4e794a87111adb22d366ef5c45 Mon Sep 17 00:00:00 2001 From: Lina Lu Date: Tue, 12 Jan 2016 22:40:22 -0800 Subject: [PATCH] docs(template_parser.ts): typo --- modules/angular2/src/compiler/template_parser.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/angular2/src/compiler/template_parser.ts b/modules/angular2/src/compiler/template_parser.ts index deaae63693..865532ebd7 100644 --- a/modules/angular2/src/compiler/template_parser.ts +++ b/modules/angular2/src/compiler/template_parser.ts @@ -52,8 +52,8 @@ import {splitAtColon} from './util'; // Group 3 = "on-" // Group 4 = "bindon-" // Group 5 = the identifier after "bind-", "var-/#", or "on-" -// Group 6 = identifer inside [()] -// Group 7 = identifer inside [] +// Group 6 = identifier inside [()] +// Group 7 = identifier inside [] // Group 8 = identifier inside () var BIND_NAME_REGEXP = /^(?:(?:(?:(bind-)|(var-|#)|(on-)|(bindon-))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/g;