MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / jqLiteExpandoStore

Function jqLiteExpandoStore

code/songhop/www/lib/angular/angular.js:2567–2577  ·  view source on GitHub ↗
(element, createIfNecessary)

Source from the content-addressed store, hash-verified

2565
2566
2567function jqLiteExpandoStore(element, createIfNecessary) {
2568 var expandoId = element.ng339,
2569 expandoStore = expandoId && jqCache[expandoId];
2570
2571 if (createIfNecessary && !expandoStore) {
2572 element.ng339 = expandoId = jqNextId();
2573 expandoStore = jqCache[expandoId] = {events: {}, data: {}, handle: undefined};
2574 }
2575
2576 return expandoStore;
2577}
2578
2579
2580function 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