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

Function jqLiteExpandoStore

test/angular/1.3/angular.js:2612–2622  ·  view source on GitHub ↗
(element, createIfNecessary)

Source from the content-addressed store, hash-verified

2610
2611
2612function jqLiteExpandoStore(element, createIfNecessary) {
2613 var expandoId = element.ng339,
2614 expandoStore = expandoId && jqCache[expandoId];
2615
2616 if (createIfNecessary && !expandoStore) {
2617 element.ng339 = expandoId = jqNextId();
2618 expandoStore = jqCache[expandoId] = {events: {}, data: {}, handle: undefined};
2619 }
2620
2621 return expandoStore;
2622}
2623
2624
2625function 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