(element, onlyDescendants)
| 2768 | } |
| 2769 | |
| 2770 | function jqLiteDealoc(element, onlyDescendants) { |
| 2771 | if (!onlyDescendants) jqLiteRemoveData(element); |
| 2772 | |
| 2773 | if (element.querySelectorAll) { |
| 2774 | var descendants = element.querySelectorAll('*'); |
| 2775 | for (var i = 0, l = descendants.length; i < l; i++) { |
| 2776 | jqLiteRemoveData(descendants[i]); |
| 2777 | } |
| 2778 | } |
| 2779 | } |
| 2780 | |
| 2781 | function jqLiteOff(element, type, fn, unsupported) { |
| 2782 | if (isDefined(unsupported)) throw jqLiteMinErr('offargs', 'jqLite#off() does not support the `selector` argument'); |
no test coverage detected