- commit
- 516e566244aceed8ece4115f0a15ec7da386678e
- parent
- 426e69e68f6524401329dd39e2fe581a479e0451
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2015-08-23 07:38
add missing docstring
Diffstat
| M | src/muu-dom-helpers.js | 5 | +++++ |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/muu-dom-helpers.js b/src/muu-dom-helpers.js
@@ -84,6 +84,11 @@ define(['muu-js-helpers'], function(_) {
84 84 }
85 85 };
86 86
-1 87 /**
-1 88 * @param {DOMNode} desc
-1 89 * @param {DOMNode} root
-1 90 * @return {boolean}
-1 91 */
87 92 $.isDescendant = function(desc, root) {
88 93 return !!desc && (desc === root || $.isDescendant(desc.parentNode, root));
89 94 };