* 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 )
| 361 | * @param {Function} handler The method that will be applied |
| 362 | */ |
| 363 | function addHandle( attrs, handler ) { |
| 364 | var arr = attrs.split("|"), |
| 365 | i = attrs.length; |
| 366 | |
| 367 | while ( i-- ) { |
| 368 | Expr.attrHandle[ arr[i] ] = handler; |
| 369 | } |
| 370 | } |
| 371 | |
| 372 | /** |
| 373 | * Checks document order of two siblings |