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

Commit 4195b04

Browse files
docs($compile): remove reference to ngRepeat providing compile function
ngRepeat no longer has the compile function in its directive definition object, since it retrieves its transclusion via the link function. Closes 5638
1 parent ccc8ec8 commit 4195b04

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/ng/compile.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,7 @@
262262
* ```
263263
*
264264
* The compile function deals with transforming the template DOM. Since most directives do not do
265-
* template transformation, it is not used often. Examples that require compile functions are
266-
* directives that transform template DOM, such as {@link
267-
* api/ng.directive:ngRepeat ngRepeat}, or load the contents
268-
* asynchronously, such as {@link ngRoute.directive:ngView ngView}. The
269-
* compile function takes the following arguments.
265+
* template transformation, it is not used often. The compile function takes the following arguments:
270266
*
271267
* * `tElement` - template element - The element where the directive has been declared. It is
272268
* safe to do template transformation on the element and child elements only.

0 commit comments

Comments
 (0)