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

Function jqLiteExpandoStore

lib/test/angular/1.8.0/angular.js:3421–3431  ·  view source on GitHub ↗
(element, createIfNecessary)

Source from the content-addressed store, hash-verified

3419
3420
3421function jqLiteExpandoStore(element, createIfNecessary) {
3422 var expandoId = element.ng339,
3423 expandoStore = expandoId && jqCache[expandoId];
3424
3425 if (createIfNecessary && !expandoStore) {
3426 element.ng339 = expandoId = jqNextId();
3427 expandoStore = jqCache[expandoId] = {events: {}, data: {}, handle: undefined};
3428 }
3429
3430 return expandoStore;
3431}
3432
3433
3434function jqLiteData(element, key, value) {

Callers 3

jqLiteOffFunction · 0.70
jqLiteDataFunction · 0.70
angular.jsFile · 0.70

Calls 1

jqNextIdFunction · 0.70

Tested by

no test coverage detected