* 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 )
| 899 | * @param {Function} handler The method that will be applied |
| 900 | */ |
| 901 | function 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 |