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

Function addHandle

2.1.1/test/sizzle.js:363–370  ·  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

361 * @param {Function} handler The method that will be applied
362 */
363function addHandle( attrs, handler ) {
364 var arr = attrs.split("|"),
365 i = attrs.length;
366
367 while ( i-- ) {
368 Expr.attrHandle[ arr[i] ] = handler;
369 }
370}
371
372/**
373 * Checks document order of two siblings

Callers 1

sizzle.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected