[client] fixes
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user