MCPcopy Create free account
hub / github.com/SpookyJS/SpookyJS / emit

Function emit

lib/bootstrap.js:1–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1function 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
11phantom.onError = function bootstrapOnError(msg, trace) {
12 emit('error', msg, trace);

Callers 2

bootstrap.jsFile · 0.70
emit.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected