docs(core/render/dom/compiler/property_binding_parser.ts): correct typo

"identifier" was misspelled.
Closes #4095
This commit is contained in:
Ning Xia 2015-09-09 10:10:38 -07:00 committed by Misko Hevery
parent a2bcf71b6b
commit 55358a39dc
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ import {dashCaseToCamelCase} from '../util';
// Group 3 = "on-" // Group 3 = "on-"
// Group 4 = "bindon-" // Group 4 = "bindon-"
// Group 5 = the identifier after "bind-", "var-/#", or "on-" // Group 5 = the identifier after "bind-", "var-/#", or "on-"
// Group 6 = idenitifer inside [()] // Group 6 = identifier inside [()]
// Group 7 = idenitifer inside [] // Group 7 = identifier inside []
// Group 8 = identifier inside () // Group 8 = identifier inside ()
var BIND_NAME_REGEXP = var BIND_NAME_REGEXP =
/^(?:(?:(?:(bind-)|(var-|#)|(on-)|(bindon-))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/g; /^(?:(?:(?:(bind-)|(var-|#)|(on-)|(bindon-))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/g;