MCPcopy Index your code
hub / github.com/GoogleTrends/data / addEvent

Function addEvent

Pikaday/pikaday.js:44–51  ·  view source on GitHub ↗
(el, e, callback, capture)

Source from the content-addressed store, hash-verified

42 sto = window.setTimeout,
43
44 addEvent = function(el, e, callback, capture)
45 {
46 if (hasEventListeners) {
47 el.addEventListener(e, callback, !!capture);
48 } else {
49 el.attachEvent('on' + e, callback);
50 }
51 },
52
53 removeEvent = function(el, e, callback, capture)
54 {

Callers 2

PikadayFunction · 0.85
pikaday.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…