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,12 +4,12 @@ import {Properties} from "../properties";
import {assert} from "chai";
function jsonify(obj: Object) {
var stringifiedJson = JSON.stringify(obj);
let stringifiedJson = JSON.stringify(obj);
return JSON.parse(stringifiedJson);
}
describe("Properties", () => {
var properties: Properties;
let properties: Properties;
beforeEach(() => {
@ -20,8 +20,8 @@ describe("Properties", () => {
properties = new Properties({
title: "test document"
});
var newJson = jsonify(properties);
let newJson = jsonify(properties);
assert(newJson.root[1].root === "test document");
});
})
});
});