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

@@ -4,4 +4,4 @@
stack-layout {
background-color: green;
}
}

View File

@@ -11,4 +11,4 @@
<Unicorn backgroundColor="pink" />
<Label text="Modal Page" />
</StackLayout>
</Page>
</Page>

View File

@@ -85,4 +85,4 @@
</TabViewItem>
</TabView.items>
</TabView>
</Page>
</Page>

View File

@@ -1,2 +1,4 @@
{ "name" : "MyControl",
"main" : "MyControl.js" }
{
"name": "MyControl",
"main": "MyControl.js"
}

View File

@@ -1,4 +1,4 @@
<StackLayout xmlns:customControls="xml-declaration/mymodule" class="MySecondCustomStackLayout">
<Label id="Label1" text="mymodulewithxml" />
<Button text="Click!" tap="buttonTap2" />
<Button text="Click!" tap="buttonTap2" />
</StackLayout>

View File

@@ -13,4 +13,4 @@
</TabViewItem>
</TabView.items>
</TabView>
</Page>
</Page>

View File

@@ -1,2 +1,4 @@
{ "name" : "MyControl",
"main" : "MyControl.js" }
{
"name": "MyControl",
"main": "MyControl.js"
}

View File

@@ -1,2 +1,4 @@
{ "name" : "xml-declaration",
"main" : "app.js" }
{
"name": "xml-declaration",
"main": "app.js"
}

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);

View File

@@ -832,4 +832,4 @@
<xs:element name="WrapLayout" type="WrapLayout"/>
</xs:choice>
</xs:group>
</xs:schema>
</xs:schema>