Index: examples/dart/hello_world/hello/lib/main.dart |
diff --git a/examples/dart/hello_world/hello/lib/main.dart b/examples/dart/hello_world/hello/lib/main.dart |
index 0d572ccb4ead7caf493f11d4e155e7f71f5d0c4a..140f725fc3e54420ae28e833cc9c28ef3aafdc7c 100644 |
--- a/examples/dart/hello_world/hello/lib/main.dart |
+++ b/examples/dart/hello_world/hello/lib/main.dart |
@@ -18,9 +18,12 @@ class Hello extends Application { |
void initialize(List<String> args, String url) { |
print("$url Hello"); |
+ var worldUrl = url.replaceAll("hello", "world"); |
+ print("Connecting to $worldUrl"); |
+ |
// We expect to find the world mojo application at the same |
// path as this application. |
- var c = connectToApplication(url.replaceAll("hello", "world")); |
+ var c = connectToApplication(worldUrl); |
// A call to close() here would cause this app to go down before the "world" |
// app has a chance to come up. Instead, we wait to close this app until |