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

@ -9,7 +9,7 @@ export abstract class XmlAttributeComponent extends BaseXmlComponent {
super("_attr");
this.xmlKeys = xmlKeys;
this.root = properties
this.root = properties;
if (!properties) {
this.root = {};
@ -19,7 +19,7 @@ export abstract class XmlAttributeComponent extends BaseXmlComponent {
replaceKey(): void {
if (this.root !== undefined) {
_.forOwn(this.root, (value, key) => {
var newKey = this.xmlKeys[key];
let newKey = this.xmlKeys[key];
this.root[newKey] = value;
delete this.root[key];
});