(element, onlyDescendants)
| 2500 | } |
| 2501 | |
| 2502 | function jqLiteDealoc(element, onlyDescendants) { |
| 2503 | if (!onlyDescendants) jqLiteRemoveData(element); |
| 2504 | |
| 2505 | if (element.querySelectorAll) { |
| 2506 | var descendants = element.querySelectorAll('*'); |
| 2507 | for (var i = 0, l = descendants.length; i < l; i++) { |
| 2508 | jqLiteRemoveData(descendants[i]); |
| 2509 | } |
| 2510 | } |
| 2511 | } |
| 2512 | |
| 2513 | function jqLiteOff(element, type, fn, unsupported) { |
| 2514 | if (isDefined(unsupported)) throw jqLiteMinErr('offargs', 'jqLite#off() does not support the `selector` argument'); |
no test coverage detected