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

Function jqLiteExpandoStore

test/angular/1.6/angular.js:3333–3343  ·  view source on GitHub ↗
(element, createIfNecessary)

Source from the content-addressed store, hash-verified

3331
3332
3333function jqLiteExpandoStore(element, createIfNecessary) {
3334 var expandoId = element.ng339,
3335 expandoStore = expandoId && jqCache[expandoId];
3336
3337 if (createIfNecessary && !expandoStore) {
3338 element.ng339 = expandoId = jqNextId();
3339 expandoStore = jqCache[expandoId] = {events: {}, data: {}, handle: undefined};
3340 }
3341
3342 return expandoStore;
3343}
3344
3345
3346function 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