Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: sky/examples/fn2/hello_fn2.dart

Issue 1160843005: Add hello_fn2.dart and make Text("Hello fn2") actually render something. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fixored Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/sdk/lib/framework/fn2.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/fn2/hello_fn2.dart
diff --git a/sky/examples/hello_world/hello_world.dart b/sky/examples/fn2/hello_fn2.dart
similarity index 66%
copy from sky/examples/hello_world/hello_world.dart
copy to sky/examples/fn2/hello_fn2.dart
index e20978844d10f8c7caede32ccd867f74adece800..1aeda5d2ebc12d0dc5ab9d17586b64f0e99118af 100644
--- a/sky/examples/hello_world/hello_world.dart
+++ b/sky/examples/fn2/hello_fn2.dart
@@ -2,10 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import 'package:sky/framework/fn.dart';
+import 'package:sky/framework/fn2.dart';
class HelloWorldApp extends App {
UINode build() {
- return new Text('Hello, world!');
+ return new Text('Hello, fn2!');
}
}
+
+void main() {
+ new HelloWorldApp();
+}
« no previous file with comments | « no previous file | sky/sdk/lib/framework/fn2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698