MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / jqLiteDealoc

Function jqLiteDealoc

code/songhop/www/lib/angular/angular.js:2502–2511  ·  view source on GitHub ↗
(element, onlyDescendants)

Source from the content-addressed store, hash-verified

2500}
2501
2502function 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
2513function jqLiteOff(element, type, fn, unsupported) {
2514 if (isDefined(unsupported)) throw jqLiteMinErr('offargs', 'jqLite#off() does not support the `selector` argument');

Callers 3

jqLiteEmptyFunction · 0.70
jqLiteRemoveFunction · 0.70
angular.jsFile · 0.70

Calls 1

jqLiteRemoveDataFunction · 0.70

Tested by

no test coverage detected