fix(PropertyBindingParser): detect bindings using full attribute name
Fixes #1001 Closes #1004
This commit is contained in:

committed by
Misko Hevery

parent
476386fb5b
commit
e0710c4613
@ -17,7 +17,7 @@ import {CompileControl} from './compile_control';
|
||||
// Group 7 = "#"
|
||||
// Group 8 = identifier after "#"
|
||||
var BIND_NAME_REGEXP = RegExpWrapper.create(
|
||||
'^(?:(?:(bind)|(var)|(on))-(.+))|\\[([^\\]]+)\\]|\\(([^\\)]+)\\)|(#)(.+)');
|
||||
'^(?:(?:(?:(bind)|(var)|(on))-(.+))|\\[([^\\]]+)\\]|\\(([^\\)]+)\\)|(#)(.+))$');
|
||||
|
||||
/**
|
||||
* Parses the property bindings on a single element.
|
||||
|
Reference in New Issue
Block a user