Skip to content

Commit

Permalink
tdweb: 0.2.35
Browse files Browse the repository at this point in the history
GitOrigin-RevId: f6b90154c8f808a9b0d785b0ef9490e66b14b771
  • Loading branch information
arseny30 committed Mar 14, 2019
1 parent 5b62ac0 commit a5c18d5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/web/tdweb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arseny30/tdweb",
"version": "0.2.34",
"version": "0.2.35",
"description": "Javascript interface for TDLib (telegram library)",
"main": "dist/tdweb.js",
"files": [
Expand Down
6 changes: 3 additions & 3 deletions example/web/tdweb/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ class TdClient {
'receive from worker: ',
JSON.parse(
JSON.stringify(response, (key, value) => {
//if (key === 'arr') {
//return undefined;
//}
if (key === 'arr') {
return undefined;
}
return value;
})
)
Expand Down
1 change: 1 addition & 0 deletions example/web/tdweb/src/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ class TdClient {
try {
var arr = this.FS.readFile(file.local.path);
if (arr) {
file = Object.create(file);
file.arr = arr;
this.doSaveFile(pid, file, arr);
}
Expand Down

0 comments on commit a5c18d5

Please sign in to comment.