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

Unified Diff: sky/examples/htmlish/framework/htmlish.sky

Issue 980323003: Clean up examples directory (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/examples/htmlish/framework/element.sky ('k') | sky/examples/htmlish/samples/intro.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/htmlish/framework/htmlish.sky
diff --git a/sky/examples/htmlish/framework/htmlish.sky b/sky/examples/htmlish/framework/htmlish.sky
deleted file mode 100644
index 8f1c9e96a3f840039365c3e450aa14a39ad8cbe6..0000000000000000000000000000000000000000
--- a/sky/examples/htmlish/framework/htmlish.sky
+++ /dev/null
@@ -1,112 +0,0 @@
-SKY MODULE - exports some basic HTML-like elements
-<import src="element.sky"/>
-
-<!-- note: accessibility handling is not implemented yet, because the
- mojo ax service isn't yet ready -->
-
-<import src="scrollable-block.sky">
-<element name=html>
- <style>
- :host { display: scrollable-block; }
- </style>
-</element>
-
-<element name=head />
-<element name=body />
-<element name=p />
-
-<element name=h1>
- <style>
- :host { margin-top: 0.67em; margin-bottom: 0.67em; font-size: 2.00em; font-weight: bold; }
- </style>
-</element>
-
-<element name=h2>
- <style>
- :host { margin-top: 0.83em; margin-bottom: 0.83em; font-size: 1.50em; font-weight: bold; }
- </style>
-</element>
-
-<element name=h3>
- <style>
- :host { margin-top: 1.00em; margin-bottom: 1.00em; font-size: 1.17em; font-weight: bold; }
- </style>
-</element>
-
-<element name=h4>
- <style>
- :host { margin-top: 1.33em; margin-bottom: 1.33em; font-size: 1.00em; font-weight: bold; }
- </style>
-</element>
-
-<element name=h5>
- <style>
- :host { margin-top: 1.67em; margin-bottom: 1.67em; font-size: 0.83em; font-weight: bold; }
- </style>
-</element>
-
-<element name=h6>
- <style>
- :host { margin-top: 2.33em; margin-bottom: 2.33em; font-size: 0.67em; font-weight: bold; }
- </style>
-</element>
-
-<element name=b>
- <style>
- :host { font-weight: bold; }
- </style>
-</element>
-
-<element name=data>
- <script>
- module.currentScript.parentNode.setPrototype({
- get value () {
- return this.getAttribute('value');
- },
- set value (newValue) {
- this.setAttribute('value', newValue);
- },
- });
- </script>
-</element>
-
-<element name=progress>
- <template>
- <div> ... </div>
- </template>
- <script>
- module.currentScript.parentNode.setPrototype({
- ...
- });
- </script>
-</element>
-
-<element name=details>
- <style>
- :host { display: block; }
- .outer { border: solid; }
- .header { display: inline; }
- .summary { display: inline; }
- </style>
- <template>
- <div class="outer">
- <div class="header">
- <div class="button">OPEN</div>
- <div class="summary"><content select="summary"/></div>
- </div>
- <div class="contents">
- <content/>
- </div>
- </div>
- </template>
- <script>
- module.currentScript.parentNode.setPrototype({
- init: function () {
-
- },
- open() {
-
- }
- });
- </script>
-</element>
« no previous file with comments | « sky/examples/htmlish/framework/element.sky ('k') | sky/examples/htmlish/samples/intro.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698