Skip to content

Commit 9bbd5c1

Browse files
petebacondarwinRichardLitt
authored andcommitted
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 5210bcb commit 9bbd5c1

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
@@ -275,11 +275,7 @@
275275
* ```
276276
*
277277
* The compile function deals with transforming the template DOM. Since most directives do not do
278-
* template transformation, it is not used often. Examples that require compile functions are
279-
* directives that transform template DOM, such as {@link
280-
* api/ng.directive:ngRepeat ngRepeat}, or load the contents
281-
* asynchronously, such as {@link ngRoute.directive:ngView ngView}. The
282-
* compile function takes the following arguments.
278+
* template transformation, it is not used often. The compile function takes the following arguments:
283279
*
284280
* * `tElement` - template element - The element where the directive has been declared. It is
285281
* safe to do template transformation on the element and child elements only.

0 commit comments

Comments
 (0)