MCPcopy Create free account
hub / github.com/apache/cloudstack / JQLiteRemoveData

Function JQLiteRemoveData

tools/ngui/static/js/lib/angular.js:1635–1647  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

1633}
1634
1635function JQLiteRemoveData(element) {
1636 var expandoId = element[jqName],
1637 expandoStore = jqCache[expandoId];
1638
1639 if (expandoStore) {
1640 if (expandoStore.handle) {
1641 expandoStore.events.$destroy && expandoStore.handle({}, '$destroy');
1642 JQLiteUnbind(element);
1643 }
1644 delete jqCache[expandoId];
1645 element[jqName] = undefined; // ie does not allow deletion of attributes on elements.
1646 }
1647}
1648
1649function JQLiteExpandoStore(element, key, value) {
1650 var expandoId = element[jqName],

Callers 1

JQLiteDealocFunction · 0.85

Calls 2

JQLiteUnbindFunction · 0.85
handleMethod · 0.65

Tested by

no test coverage detected