This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
1.6.x: underscore prefix is not ignored in attribute directive's name #16278
Closed
Description
I'm submitting a ...
- bug report
- feature request
- other (Please do not submit support requests here (see above))
Current behavior:
Attribute directive registered as e.g. "t" and used on elements as "_t" is not working.
Expected / new behavior:
Attribute directive registered as e.g. "t" can be used as "_t" again.
Minimal reproduction of the problem with instructions:
comment/uncomment 1.6 vs 1.5 ng version to see the difference
https://plnkr.co/edit/earjy4mhjccYIexn7WYk?p=preview
AngularJS version: 1.x.y
1.5.x - works as described in 'expected' section, 1.6.x - does not work.
Browser:
not a browser-specific issue
Anything else:
My best guess, this bug was introduced in this commit:
73050cd#diff-a732922b631efed1b9f33a24082ae0dbR3600