fixed all tslint errors

This commit is contained in:
Dolan Miu
2016-05-26 15:08:34 +01:00
parent f075d3b719
commit a2284df881
42 changed files with 253 additions and 254 deletions

View File

@ -4,18 +4,17 @@ import * as docx from "../docx";
import {assert} from "chai";
describe("Document", () => {
var document: docx.Document;
let document: docx.Document;
beforeEach(() => {
document = new docx.Document();
});
describe('#constructor()', () => {
describe("#constructor()", () => {
it("should create valid JSON", () => {
//console.log(JSON.stringify(document, null, " "));
var stringifiedJson = JSON.stringify(document);
var newJson;
let stringifiedJson = JSON.stringify(document);
let newJson;
try {
newJson = JSON.parse(stringifiedJson);