moved to es6 module system

This commit is contained in:
Dolan Miu
2016-03-28 00:53:24 +01:00
parent 5c419cd3c4
commit 7a78dacf8c
19 changed files with 19265 additions and 24 deletions

3
ts/docx/body.ts Normal file
View File

@ -0,0 +1,3 @@
export class Body {
}

11
ts/docx/document.ts Normal file
View File

@ -0,0 +1,11 @@
export class Document {
private body: string;
constructor() {
this.body = "ggg";
}
test() {
return "hello";
}
}

View File

@ -1,6 +0,0 @@
module docx {
export class Docx {
}
}

2
ts/docx/index.ts Normal file
View File

@ -0,0 +1,2 @@
export {Document} from "./document";
export {Paragraph} from "./paragraph";

View File

@ -1,5 +1,7 @@
module docx {
export class Paragraph {
export class Paragraph {
private p: Array<string>;
constructor() {
this.p = ['stuff']
}
}

View File

@ -1,5 +1,3 @@
module docx {
export class Row {
}
}

View File

@ -1,5 +1,3 @@
module docx {
export class TapStop {
}
}

View File

@ -1,5 +1,3 @@
module docx {
export class Table {
}
}

View File

@ -1,5 +1,3 @@
module docx {
export class Text {
}
}