(obj, offset)
| 115 | } |
| 116 | |
| 117 | function toArray(obj, offset) { |
| 118 | var args = []; |
| 119 | |
| 120 | // This is necessary for IE8 |
| 121 | if (isNumber(offset)) { |
| 122 | args.push(offset); |
| 123 | } |
| 124 | |
| 125 | return args.slice.apply(obj, args); |
| 126 | } |
| 127 | |
| 128 | // Custom proxy to avoid jQuery's guid |
| 129 | function proxy(fn, context) { |
no test coverage detected