Skip to content

Commit fdde274

Browse files
committed
fix type when export as blob, change description
1 parent 7eaffdf commit fdde274

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ class PainterroProc {
458458
for (let i = 0; i < byteString.length; i += 1) {
459459
ia[i] = byteString.charCodeAt(i);
460460
}
461-
return new Blob([ab], { realType });
461+
return new Blob([ab], { type: realType });
462462
},
463463
};
464464

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "painterro",
33
"version": "0.2.14",
4-
"description": "Embуedded html image editor",
4+
"description": "HTML5 image editor widget",
55
"main": "build/painterro.commonjs2.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",

0 commit comments

Comments
 (0)