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

Function addHandle

2.0.3/Sizzle.js:353–360  ·  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

351 */
352
353 function addHandle(attrs, handler) {
354 var arr = attrs.split("|"),
355 i = attrs.length;
356
357 while (i--) {
358 Expr.attrHandle[arr[i]] = handler;
359 }
360 }
361
362 /**
363 * Checks document order of two siblings

Callers 1

Sizzle.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected