fix some package

This commit is contained in:
Xuan Sang LE
2020-05-21 22:24:30 +02:00
parent d62bafae48
commit 5f34a9775d
10 changed files with 8 additions and 6 deletions

View File

@ -18,7 +18,7 @@
this.bindKey("CTRL-S", () => {
return this.saveFile();
});
this.filehandle = this.args && this.args.length > 0 ? this.args[0].asFileHandle() : null;
this.filehandle = this.args && this.args.length > 0 ? this.args[0].path.asFileHandle() : null;
$(this.editor).on('input', (e) => {
if (this.filehandle.dirty === true) {
return;

View File

@ -6,7 +6,7 @@
"author": "Xuan Sang LE",
"email": "xsang.le@gmail.com"
},
"version":"0.0.1-a",
"version":"0.0.2-a",
"category":"Other",
"iconclass":"fa fa-adn",
"mimes":["text/.*"]