UNPKG

socket.io-rpc

Version:

Minimalistic remote procedure call(RPC/RMI) library bootstrapped on socket.io

9 lines (8 loc) 162 B
if (!window.console) { // fuck IE 8 and 9 for not having a console var noOp = function () {} console = { log: noOp, warn: noOp, error: noOp } }