Merge pull request #900 from paulkaplan/fix-text-encoder-require

Require TextEncoder correctly
This commit is contained in:
DD Liu 2018-01-17 12:24:33 -05:00 committed by GitHub
commit c2ff39ef06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -59,6 +59,7 @@
"socket.io-client": "2.0.4",
"stats.js": "^0.17.0",
"tap": "^10.2.0",
"text-encoding": "0.6.4",
"tiny-worker": "^2.1.1",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.4.1",

View file

@ -1,3 +1,4 @@
const TextEncoder = require('text-encoding').TextEncoder;
const EventEmitter = require('events');
const centralDispatch = require('./dispatch/central-dispatch');