MCPcopy Create free account
hub / github.com/frank-lam/fullstack-tutorial / addHandle

Function addHandle

notes/docsify/unpkg/gotop/jquery-2.1.0.js:897–904  ·  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

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

Callers 1

jquery-2.1.0.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected