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

Unified Diff: sky/examples/htmlish/samples/intro.sky

Issue 698293003: Docs: add an example that uses the current APIs to define an <element> (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/examples/htmlish/framework/htmlish.sky ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/htmlish/samples/intro.sky
diff --git a/sky/examples/htmlish/samples/intro.sky b/sky/examples/htmlish/samples/intro.sky
new file mode 100644
index 0000000000000000000000000000000000000000..c200e2d831cbe0f499e80f6032fead49b64c2e00
--- /dev/null
+++ b/sky/examples/htmlish/samples/intro.sky
@@ -0,0 +1,11 @@
+#!mojo mojo:sky
+<import src="../framework/htmlish.sky"/>
+<html>
+ <head>
+ <title>Welcome to Sky</title>
+ </head>
+ <body>
+ <h1>Introduction</h1>
+ <p>Hello world.</p>
+ </body>
+</html>
« no previous file with comments | « sky/examples/htmlish/framework/htmlish.sky ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698