MCPcopy
hub / github.com/Justineo/github-hovercard / areEqual

Function areEqual

extensions/chrome/tooltipster.js:1966–1975  ·  view source on GitHub ↗
(a,b)

Source from the content-addressed store, hash-verified

1964
1965 // quick & dirty compare function, not bijective nor multidimensional
1966 function areEqual(a,b) {
1967 var same = true;
1968 $.each(a, function(i, _) {
1969 if (b[i] === undefined || a[i] !== b[i]) {
1970 same = false;
1971 return false;
1972 }
1973 });
1974 return same;
1975 }
1976
1977 // we'll assume the device has no mouse until we detect any mouse movement
1978 var deviceHasMouse = false;

Callers 1

tooltipster.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected