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

Unified Diff: sky/examples/dart.sky

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/wtf/text/AtomicString.h ('k') | sky/examples/dart-library.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/dart.sky
diff --git a/sky/examples/dart.sky b/sky/examples/dart.sky
new file mode 100644
index 0000000000000000000000000000000000000000..d388039f3020edd428c2bf044b259f7885e62b14
--- /dev/null
+++ b/sky/examples/dart.sky
@@ -0,0 +1,14 @@
+#!mojo mojo:sky_viewer
+<sky>
+<import src="dart-library.sky" as="library" />
+<script>
+import "dart:sky" as sky;
+
+main() {
+ var text = new sky.Text("Hello");
+ print(text.data);
+ // print(text.firstChild);
+}
+</script>
+</sky>
+w
« no previous file with comments | « sky/engine/wtf/text/AtomicString.h ('k') | sky/examples/dart-library.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698