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

Function jqLiteExpandoStore

lib/test/angular/1.4.3/angular.js:2835–2845  ·  view source on GitHub ↗
(element, createIfNecessary)

Source from the content-addressed store, hash-verified

2833
2834
2835function jqLiteExpandoStore(element, createIfNecessary) {
2836 var expandoId = element.ng339,
2837 expandoStore = expandoId && jqCache[expandoId];
2838
2839 if (createIfNecessary && !expandoStore) {
2840 element.ng339 = expandoId = jqNextId();
2841 expandoStore = jqCache[expandoId] = {events: {}, data: {}, handle: undefined};
2842 }
2843
2844 return expandoStore;
2845}
2846
2847
2848function 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