Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5feb9ab

Browse files
cironunesbtford
authored andcommitted
docs($compile): change restrict's defaults to EA
restrict defaults are EA let's update the docs
1 parent 22bece7 commit 5feb9ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/compile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
*
212212
* #### `restrict`
213213
* String of subset of `EACM` which restricts the directive to a specific directive
214-
* declaration style. If omitted, the default (attributes only) is used.
214+
* declaration style. If omitted, the defaults (elements and attributes) are used.
215215
*
216216
* * `E` - Element name (default): `<my-directive></my-directive>`
217217
* * `A` - Attribute (default): `<div my-directive="exp"></div>`

0 commit comments

Comments
 (0)