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 = [
1818/**
1919 * Compile a template and return a reusable composite link
2020 * 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.
2328 *
2429 * @param {Element|DocumentFragment } el
2530 * @param {Object } options
@@ -713,4 +718,4 @@ function directiveComparator (a, b) {
713718 a = a . def . priority || 0
714719 b = b . def . priority || 0
715720 return a > b ? 1 : - 1
716- }
721+ }
You can’t perform that action at this time.
0 commit comments