Работа над BookManager

This commit is contained in:
Book Pauk
2019-01-14 01:30:12 +07:00
parent 7c89bb868e
commit 0f2fe882e5
3 changed files with 95 additions and 13 deletions

View File

@@ -1,2 +1,12 @@
export default class BookParser {
constructor() {
}
async parse(data, callback) {
this.data = data;
if (callback)
callback(100);
return {author: 'Захарова Елена', title: 'Возвращение'};
}
}