MCPcopy Create free account
hub / github.com/caike/jQuery-Simple-Timer / addEvents

Function addEvents

tests/qunit-2.9.2.js:4608–4613  ·  view source on GitHub ↗
(elems, type, fn)

Source from the content-addressed store, hash-verified

4606 }
4607
4608 function addEvents(elems, type, fn) {
4609 var i = elems.length;
4610 while (i--) {
4611 addEvent(elems[i], type, fn);
4612 }
4613 }
4614
4615 function hasClass(elem, name) {
4616 return (" " + elem.className + " ").indexOf(" " + name + " ") >= 0;

Callers 1

Calls 1

addEventFunction · 0.85

Tested by

no test coverage detected