* 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 )
| 920 | * @param {Function} handler The method that will be applied |
| 921 | */ |
| 922 | function addHandle( attrs, handler ) { |
| 923 | var arr = attrs.split("|"), |
| 924 | i = arr.length; |
| 925 | |
| 926 | while ( i-- ) { |
| 927 | Expr.attrHandle[ arr[i] ] = handler; |
| 928 | } |
| 929 | } |
| 930 | |
| 931 | /** |
| 932 | * Checks document order of two siblings |