MCPcopy
hub / github.com/Postcatlab/postcat / jqLiteRemoveData

Function jqLiteRemoveData

src/workbench/browser/src/ng1/lib/angular/angular.js:3488–3501  ·  view source on GitHub ↗
(element, name)

Source from the content-addressed store, hash-verified

3486 }
3487
3488 function jqLiteRemoveData(element, name) {
3489 var expandoId = element.ng339;
3490 var expandoStore = expandoId && jqCache[expandoId];
3491
3492 if (expandoStore) {
3493 if (name) {
3494 delete expandoStore.data[name];
3495 } else {
3496 expandoStore.data = {};
3497 }
3498
3499 removeIfEmptyData(element);
3500 }
3501 }
3502
3503
3504 function jqLiteExpandoStore(element, createIfNecessary) {

Callers 1

angular.jsFile · 0.85

Calls 1

removeIfEmptyDataFunction · 0.85

Tested by

no test coverage detected