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

View File

@ -1,7 +1,8 @@
/// <reference path="../docx/docx.ts" />
/// <reference path="../typings/mocha/mocha.d.ts" />
import * as docx from "../docx";
describe('Calculator', () => {
var document : docx.Docx;
var document : docx.Document;
/*beforeEach(function () {
subject = new Calculator();
@ -16,6 +17,10 @@ describe('Calculator', () => {
});
});*/
describe('#test', () => {
console.log(new docx.Docx);
var document = new docx.Document();
var paragraph = new docx.Paragraph();
//var body = new docx.Body();
console.log(JSON.stringify(paragraph));
console.log(document.test());
});
});