()
| 1 | function emit() { |
| 2 | var args = Array.prototype.slice.call(arguments); |
| 3 | |
| 4 | console.log(JSON.stringify({ |
| 5 | jsonrpc: '2.0', |
| 6 | method: 'emit', |
| 7 | params: args |
| 8 | })); |
| 9 | } |
| 10 | |
| 11 | phantom.onError = function bootstrapOnError(msg, trace) { |
| 12 | emit('error', msg, trace); |
no outgoing calls
no test coverage detected