Skip to content

Commit

Permalink
fix type when export as blob, change description
Browse files Browse the repository at this point in the history
  • Loading branch information
ivictbor committed Jul 9, 2017
1 parent 7eaffdf commit fdde274
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ class PainterroProc {
for (let i = 0; i < byteString.length; i += 1) {
ia[i] = byteString.charCodeAt(i);
}
return new Blob([ab], { realType });
return new Blob([ab], { type: realType });
},
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "painterro",
"version": "0.2.14",
"description": "Embуedded html image editor",
"description": "HTML5 image editor widget",
"main": "build/painterro.commonjs2.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down

0 comments on commit fdde274

Please sign in to comment.