* 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 )
| 959 | * @param {Function} handler The method that will be applied |
| 960 | */ |
| 961 | function addHandle( attrs, handler ) { |
| 962 | var arr = attrs.split("|"), |
| 963 | i = arr.length; |
| 964 | |
| 965 | while ( i-- ) { |
| 966 | Expr.attrHandle[ arr[i] ] = handler; |
| 967 | } |
| 968 | } |
| 969 | |
| 970 | /** |
| 971 | * Checks document order of two siblings |