[client] fixes

This commit is contained in:
2018-03-06 22:57:07 +03:00
parent df99ff817a
commit 0d4ac4e3e5
6 changed files with 104 additions and 88 deletions

View File

@@ -38,9 +38,9 @@ class Init {
#if flash
Provider.set(IConnection, new ru.m.connect.flash.FlashConnection<Request, Response>('localhost', 5001, Response));
#elseif html5
Provider.set(IConnection, new ru.m.connect.js.JsConnection('localhost', 5001));
Provider.set(IConnection, new ru.m.connect.js.JsConnection<Request, Response>('localhost', 5001, Response));
#else
Provider.set(IConnection, new ru.m.connect.fake.FakeConnection());
Provider.set(IConnection, new ru.m.connect.fake.FakeConnection<Request, Response>(Response));
#end
}
}

View File

@@ -55,13 +55,17 @@ views:
text: 2 VS
$style: button
# network
- $type: haxework.gui.LabelView
$style: label
fontSize: 20
topMargin: 15
- $type: haxework.gui.VGroupView
contentSize: true
text: Network
- id: network
$type: haxework.gui.ButtonView
text: Network
$style: button
visible: false
views:
- $type: haxework.gui.LabelView
$style: label
fontSize: 20
topMargin: 15
contentSize: true
text: Network
- id: network
$type: haxework.gui.ButtonView
text: Network
$style: button