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

Function addHandle

2.0.3/2.0.3.js:1217–1224  ·  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

1215 * @param {Function} handler The method that will be applied
1216 */
1217 function addHandle( attrs, handler ) {
1218 var arr = attrs.split("|"),
1219 i = attrs.length;
1220
1221 while ( i-- ) {
1222 Expr.attrHandle[ arr[i] ] = handler;
1223 }
1224 }
1225
1226 /**
1227 * Checks document order of two siblings

Callers 1

2.0.3.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected