Files: 1eb144e388da5f1a3466703f56ac4ab591d700fc / test / test-79-npm / socket.io-client / socket.io-client.js
328 bytesRaw
1 | ; |
2 | |
3 | var fs = require('fs'); |
4 | var client = require('socket.io-client'); |
5 | if (typeof client.protocol === 'number') { |
6 | var literal = 'socket.io-client/dist/socket.io.js'; |
7 | var p = require.resolve(literal, 'may-exclude'); |
8 | var asset = fs.readFileSync(p, 'utf8'); |
9 | if (asset.length > 100) { |
10 | console.log('ok'); |
11 | } |
12 | } |
13 |
Built with git-ssb-web