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

Function jqLiteExpandoStore

lib/test/angular/1.7.0/angular.js:3310–3320  ·  view source on GitHub ↗
(element, createIfNecessary)

Source from the content-addressed store, hash-verified

3308
3309
3310function jqLiteExpandoStore(element, createIfNecessary) {
3311 var expandoId = element.ng339,
3312 expandoStore = expandoId && jqCache[expandoId];
3313
3314 if (createIfNecessary && !expandoStore) {
3315 element.ng339 = expandoId = jqNextId();
3316 expandoStore = jqCache[expandoId] = {events: {}, data: {}, handle: undefined};
3317 }
3318
3319 return expandoStore;
3320}
3321
3322
3323function 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