fix(PropertyBindingParser): detect bindings using full attribute name

Fixes #1001

Closes #1004
This commit is contained in:
Pawel Kozlowski
2015-03-18 21:27:46 +01:00
committed by Misko Hevery
parent 476386fb5b
commit e0710c4613
2 changed files with 20 additions and 1 deletions

View File

@ -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.