parent
dab371dfc6
commit
8cd2f627f6
|
@ -100,14 +100,14 @@ export class Docx {
|
|||
|
||||
buildDelete(d: Delete) {
|
||||
const run = this.buildRun(d.run);
|
||||
let insert = wasm.createInsert(run);
|
||||
let del = wasm.createDelete(run);
|
||||
if (d._author) {
|
||||
insert = insert.author(d._author);
|
||||
del = del.author(d._author);
|
||||
}
|
||||
if (d._date) {
|
||||
insert = insert.date(d._date);
|
||||
del = del.date(d._date);
|
||||
}
|
||||
return insert;
|
||||
return del;
|
||||
}
|
||||
|
||||
buildComment(c: Comment) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "docx-wasm",
|
||||
"version": "0.0.19",
|
||||
"version": "0.0.22",
|
||||
"main": "dist/index.js",
|
||||
"author": "bokuweb <bokuweb12@gmail.com>",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
],
|
||||
"version": "0.1.0",
|
||||
"files": [
|
||||
"index_bg.wasm",
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
"docx_wasm_bg.wasm",
|
||||
"docx_wasm.js",
|
||||
"docx_wasm.d.ts"
|
||||
],
|
||||
"module": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"module": "docx_wasm.js",
|
||||
"types": "docx_wasm.d.ts",
|
||||
"sideEffects": "false"
|
||||
}
|
Loading…
Reference in New Issue