Skip to content

Commit

Permalink
build wasm (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
bokuweb authored Dec 16, 2019
1 parent 0af89db commit 875b618
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 1,576 deletions.
24 changes: 12 additions & 12 deletions docx-wasm/pkg/docx_rs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,24 @@ export function createTableRow(): TableRow;
* @returns {Level}
*/
export function createLevel(id: number, start: number, format: string, text: string, jc: string): Level;
export enum StyleType {
Paragraph,
Character,
}
/**
*/
export enum VMergeType {
Continue,
Restart,
}
/**
*/
export enum WidthType {
DXA,
Auto,
}
/**
*/
export enum BorderType {
None,
Single,
Expand Down Expand Up @@ -104,18 +116,6 @@ export enum SpecialIndentKind {
}
/**
*/
export enum StyleType {
Paragraph,
Character,
}
/**
*/
export enum WidthType {
DXA,
Auto,
}
/**
*/
/**
*/
export class Comment {
Expand Down
12 changes: 6 additions & 6 deletions docx-wasm/pkg/docx_rs.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,15 @@ function takeObject(idx) {
}
/**
*/
export const StyleType = Object.freeze({ Paragraph:0,Character:1, });
/**
*/
export const VMergeType = Object.freeze({ Continue:0,Restart:1, });
/**
*/
export const WidthType = Object.freeze({ DXA:0,Auto:1, });
/**
*/
export const BorderType = Object.freeze({ None:0,Single:1,Thick:2,Double:3,Dotted:4,Dashed:5,DotDash:6,DotDotDash:7,Triple:8, });
/**
*/
Expand All @@ -245,12 +251,6 @@ export const TableAlignmentType = Object.freeze({ Center:0,Left:1,Right:2, });
export const SpecialIndentKind = Object.freeze({ FirstLine:0,Hanging:1, });
/**
*/
export const StyleType = Object.freeze({ Paragraph:0,Character:1, });
/**
*/
export const WidthType = Object.freeze({ DXA:0,Auto:1, });
/**
*/
export class Comment {

static __wrap(ptr) {
Expand Down
Binary file modified docx-wasm/pkg/docx_rs_bg.wasm
Binary file not shown.
Loading

0 comments on commit 875b618

Please sign in to comment.