tdweb: fix warnings.

GitOrigin-RevId: a94ecdb9c7b851e0d1842b07b5e5396e70c53387
This commit is contained in:
levlam 2019-04-30 03:21:06 +03:00
parent 9dfbe5cc1e
commit 91a9bfa1d3

View File

@ -1,5 +1,5 @@
import MyWorker from './worker.js';
import localforage from 'localforage';
//import localforage from 'localforage';
//import './third_party/broadcastchannel.js';
import BroadcastChannel from 'broadcast-channel';
import uuid4 from 'uuid/v4';
@ -129,7 +129,7 @@ class TdClient {
});
return;
}
if (query['@type'] === 'readFile' || query['@type'] == 'readFilePart') {
if (query['@type'] === 'readFile' || query['@type'] === 'readFilePart') {
this.readFile(query);
return;
}