MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / addHandle

Function addHandle

camera/jquery.js:901–908  ·  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

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

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected