( array, results )
| 4629 | } |
| 4630 | |
| 4631 | var makeArray = function( array, results ) { |
| 4632 | array = Array.prototype.slice.call( array, 0 ); |
| 4633 | |
| 4634 | if ( results ) { |
| 4635 | results.push.apply( results, array ); |
| 4636 | return results; |
| 4637 | } |
| 4638 | |
| 4639 | return array; |
| 4640 | }; |
| 4641 | |
| 4642 | // Perform a simple check to determine if the browser is capable of |
| 4643 | // converting a NodeList to an array using builtin methods. |