Skip to content

Commit

Permalink
v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyrone Parker committed Oct 12, 2023
1 parent e933aab commit 29559a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions FileSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class FileSystem {
this.file = {}
this.options = options
this.dirHandle = {}
this.sfile = new ShakeFile(this.file)
}

async getFile () {
Expand All @@ -21,8 +22,8 @@ class FileSystem {


async getFileContents() {
this.sfile = new ShakeFile(this.file, this)
return await this.sfile.data;
this.sfile.setFile(this.file)
return await this.sfile.getData();
}

addToDom () {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shake-file",
"version": "1.3.0",
"version": "1.3.1",
"description": "Pure Javascript package for using the File System API",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 29559a6

Please sign in to comment.