File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,13 @@ var terminalDirectives = [
18
18
/**
19
19
* Compile a template and return a reusable composite link
20
20
* function, which recursively contains more link functions
21
- * inside. This top level compile function should only be
22
- * called on instance root nodes.
21
+ * inside. This top level compile function would normally
22
+ * be called on instance root nodes, but can also be used
23
+ * for partial compilation if the partial argument is true.
24
+ *
25
+ * The returned composite link function, when called, will
26
+ * return an unlink function that tearsdown all directives
27
+ * created during the linking phase.
23
28
*
24
29
* @param {Element|DocumentFragment } el
25
30
* @param {Object } options
@@ -713,4 +718,4 @@ function directiveComparator (a, b) {
713
718
a = a . def . priority || 0
714
719
b = b . def . priority || 0
715
720
return a > b ? 1 : - 1
716
- }
721
+ }
You can’t perform that action at this time.
0 commit comments