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

Side by Side Diff: sky/examples/dart.sky

Issue 919883002: Allow sky apps to be consumers of mojo services (Closed) Base URL: https://github.com/eseidel/skydart.git@master
Patch Set: cr comments 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 unified diff | Download patch
« no previous file with comments | « sky/engine/core/script/dart_loader.cc ('k') | sky/examples/dart-mojo.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!mojo mojo:sky_viewer 1 #!mojo mojo:sky_viewer
2 <sky> 2 <sky>
3 <import src="dart-library.sky" as="library" /> 3 <import src="dart-library.sky" as="library" />
4 <script> 4 <script>
5 import "dart:sky" as sky; 5 import "dart:sky" as sky;
6 6
7 main() { 7 main() {
8 var text = new sky.Text("Hello"); 8 var text = new sky.Text("Hello");
9 print(text.data); 9 print(text.data);
10 // print(text.firstChild); 10 // print(text.firstChild);
11 } 11 }
12 </script> 12 </script>
13 </sky> 13 </sky>
14 w
OLDNEW
« no previous file with comments | « sky/engine/core/script/dart_loader.cc ('k') | sky/examples/dart-mojo.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698