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

Function addHandle

2.1.1/test/jquery-1.11.1.js:937–944  ·  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

935 * @param {Function} handler The method that will be applied
936 */
937function addHandle( attrs, handler ) {
938 var arr = attrs.split("|"),
939 i = attrs.length;
940
941 while ( i-- ) {
942 Expr.attrHandle[ arr[i] ] = handler;
943 }
944}
945
946/**
947 * Checks document order of two siblings

Callers 1

jquery-1.11.1.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected