MCPcopy Index your code
hub / github.com/mailru/FileAPI / addEvents

Function addEvents

tests/qunit/qunit.js:1515–1520  ·  view source on GitHub ↗

* @param {Array|NodeList} elems * @param {string} type * @param {Function} fn

( elems, type, fn )

Source from the content-addressed store, hash-verified

1513 * @param {Function} fn
1514 */
1515function addEvents( elems, type, fn ) {
1516 var i = elems.length;
1517 while ( i-- ) {
1518 addEvent( elems[i], type, fn );
1519 }
1520}
1521
1522function hasClass( elem, name ) {
1523 return (" " + elem.className + " ").indexOf(" " + name + " ") > -1;

Callers 1

qunit.jsFile · 0.85

Calls 1

addEventFunction · 0.85

Tested by

no test coverage detected