Closed DavidPesta closed 12 years ago
I believe this is because in parseBindStr (around line 436), the regex used for the match is /(\w+)(?:\s+(\w+))?/ .. \w doesn't match dashes. should probably just use [a-zA-Z0-9-].
@DavidPesta thank you for finding the issue.
@tlack thanks for the suggestion :D
Thanks guys, this is awesome progress!
Implemented in #63
I've been testing Agility.js with SVG. Data bindings don't seem to work for element attributes that have a hyphen in them.
The following works for stroke-width, giving the circle a stroke width of 10:
But the following does not work for the stroke-width element attribute:
I hope this is helpful!