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

Documented default 'restrict' value for directive (EA) doesn't appear to work #9554

Closed
katzgrau opened this issue Oct 10, 2014 · 2 comments
Closed

Comments

@katzgrau
Copy link

According to the docs, the restrict option when creating a directive definition should default to EA, but that does not appear to work. I'm not certain if the docs should change, a pull request should be made, or I'm overlooking something:

JSFiddle: http://jsfiddle.net/kk0zgn1L/
Docs: https://docs.angularjs.org/api/ng/service/$compile#directive-definition-object

@Narretz
Copy link
Contributor

Narretz commented Oct 10, 2014

The plunkr uses angular 1.3.0-beta.13, but the documentation is for the latest snapshot. The default restrict behavior was changed in beta.17.

@katzgrau
Copy link
Author

Thanks!

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

No branches or pull requests

2 participants