MCPcopy
hub / github.com/angular-ui/ui-grid / jqLiteDealoc

Function jqLiteDealoc

lib/test/angular/1.5.0/angular.js:2876–2885  ·  view source on GitHub ↗
(element, onlyDescendants)

Source from the content-addressed store, hash-verified

2874}
2875
2876function jqLiteDealoc(element, onlyDescendants) {
2877 if (!onlyDescendants) jqLiteRemoveData(element);
2878
2879 if (element.querySelectorAll) {
2880 var descendants = element.querySelectorAll('*');
2881 for (var i = 0, l = descendants.length; i < l; i++) {
2882 jqLiteRemoveData(descendants[i]);
2883 }
2884 }
2885}
2886
2887function jqLiteOff(element, type, fn, unsupported) {
2888 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