( array, results )
| 4559 | } |
| 4560 | |
| 4561 | var makeArray = function( array, results ) { |
| 4562 | array = Array.prototype.slice.call( array, 0 ); |
| 4563 | |
| 4564 | if ( results ) { |
| 4565 | results.push.apply( results, array ); |
| 4566 | return results; |
| 4567 | } |
| 4568 | |
| 4569 | return array; |
| 4570 | }; |
| 4571 | |
| 4572 | // Perform a simple check to determine if the browser is capable of |
| 4573 | // converting a NodeList to an array using builtin methods. |