MCPcopy Create free account
hub / github.com/JsAaron/jQuery / addHandle

Function addHandle

2.1.1/test/jquery-2.1.1.js:900–907  ·  view source on GitHub ↗

* Adds the same handler for all of the specified attrs * @param {String} attrs Pipe-separated list of attributes * @param {Function} handler The method that will be applied

( attrs, handler )

Source from the content-addressed store, hash-verified

898 * @param {Function} handler The method that will be applied
899 */
900function addHandle( attrs, handler ) {
901 var arr = attrs.split("|"),
902 i = attrs.length;
903
904 while ( i-- ) {
905 Expr.attrHandle[ arr[i] ] = handler;
906 }
907}
908
909/**
910 * Checks document order of two siblings

Callers 1

jquery-2.1.1.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected