Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

compiler leaks isolate accessors into the outer scope #817

Closed
IgorMinar opened this issue Mar 22, 2012 · 1 comment · Fixed by #821
Closed

compiler leaks isolate accessors into the outer scope #817

IgorMinar opened this issue Mar 22, 2012 · 1 comment · Fixed by #821
Assignees

Comments

@IgorMinar
Copy link
Contributor

first reported at [here[(https://github.com/danielzen/angular.js/commit/56ef961daa30983aef884052c3c189a51cd53e67#commitcomment-1111304).

looks like when there is a name collision between the accessor name and the directive name (or something of that sort) we leak the accessor to the outer scope.

example + test: http://jsfiddle.net/IgorMinar/kQpFW/3/

@ghost ghost assigned IgorMinar Mar 22, 2012
@IgorMinar
Copy link
Contributor Author

turns out that this is most likely due to having the directives on the root element of the template.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant