(data)
| 35 | socket.on('vue-message', data => fn(data)) |
| 36 | }, |
| 37 | send(data) { |
| 38 | if (process.env.NODE_ENV !== 'production') { |
| 39 | // eslint-disable-next-line no-console |
| 40 | console.log('%cdevtools -> backend', 'color:#888;', data) |
| 41 | } |
| 42 | socket.emit('vue-message', data) |
| 43 | }, |
| 44 | } |
| 45 | const bridge = new Bridge(wall) |
| 46 |