MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / jqLiteExpandoStore

Function jqLiteExpandoStore

web/static/bower_components/angular/angular.js:2863–2873  ·  view source on GitHub ↗
(element, createIfNecessary)

Source from the content-addressed store, hash-verified

2861
2862
2863function jqLiteExpandoStore(element, createIfNecessary) {
2864 var expandoId = element.ng339,
2865 expandoStore = expandoId && jqCache[expandoId];
2866
2867 if (createIfNecessary && !expandoStore) {
2868 element.ng339 = expandoId = jqNextId();
2869 expandoStore = jqCache[expandoId] = {events: {}, data: {}, handle: undefined};
2870 }
2871
2872 return expandoStore;
2873}
2874
2875
2876function jqLiteData(element, key, value) {

Callers 3

jqLiteOffFunction · 0.85
jqLiteDataFunction · 0.85
angular.jsFile · 0.85

Calls 1

jqNextIdFunction · 0.85

Tested by

no test coverage detected