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

Function jqLiteExpandoStore

test/angular/1.7/angular.js:3356–3366  ·  view source on GitHub ↗
(element, createIfNecessary)

Source from the content-addressed store, hash-verified

3354
3355
3356function jqLiteExpandoStore(element, createIfNecessary) {
3357 var expandoId = element.ng339,
3358 expandoStore = expandoId && jqCache[expandoId];
3359
3360 if (createIfNecessary && !expandoStore) {
3361 element.ng339 = expandoId = jqNextId();
3362 expandoStore = jqCache[expandoId] = {events: {}, data: {}, handle: undefined};
3363 }
3364
3365 return expandoStore;
3366}
3367
3368
3369function 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