style(tests): format all files

This commit is contained in:
Vasil Chimev
2019-08-22 13:54:47 +03:00
parent 0a5ac1a527
commit 7412ce82b3
142 changed files with 589 additions and 557 deletions

View File

@@ -2,4 +2,4 @@
<tc:TemplateView.template>
<tc:TemplateView text="Click!" test="test" />
</tc:TemplateView.template>
</tc:TemplateView>
</tc:TemplateView>

View File

@@ -1,4 +1,4 @@
// Our unit test will set this function and expect it to be set as a handler on a View in the XML.
export interface ITestEvent {
test: (args: any) => void;
}
}

View File

@@ -10,14 +10,14 @@ export class TemplateView extends LayoutBase {
public template: string;
public static testEvent: string = "test";
public parseTemplate() {
this.addChild(parse(this.template));
}
}
export const templateProperty = new Property<TemplateView, string>({
name: "template",
affectsLayout: true
});
name: "template",
affectsLayout: true
});
templateProperty.register(TemplateView);