mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
I have to problems with `module.exports = require('engine.io-client').parser;`
1. It loads more than is needed
2. It loads the JSONP transport client, which creates a global
6 lines
121 B
JavaScript
6 lines
121 B
JavaScript
/**
|
|
* Exposes the client parser to avoid code repetition.
|
|
*/
|
|
|
|
module.exports = require('engine.io-client/lib/parser');
|