git ssb

0+

cel-desktop / ssb-pkg



Tree: 938b7ea4cfaa3cef6e1690b9ef3ea8bd7a0d2de1

Files: 938b7ea4cfaa3cef6e1690b9ef3ea8bd7a0d2de1 / test / test-79-npm / socket.io-client / socket.io-client@1.0.6.js

323 bytesRaw
1'use strict';
2
3var fs = require('fs');
4var client = require('socket.io-client');
5if (typeof client.protocol === 'number') {
6 var literal = 'socket.io-client/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