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

Unified Diff: sky/examples/scrolling/scrolling.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/scrolling/index.sky ('k') | sky/examples/shell/sensor.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/scrolling/scrolling.sky
diff --git a/sky/examples/example-scrollable/example-scrollable.sky b/sky/examples/scrolling/scrolling.sky
similarity index 82%
rename from sky/examples/example-scrollable/example-scrollable.sky
rename to sky/examples/scrolling/scrolling.sky
index c6f27b88215d22c704bdaf282aca5306fa92a9d1..4220b02592ec7092bd4c94a9e8edccae4eef8d4e 100644
--- a/sky/examples/example-scrollable/example-scrollable.sky
+++ b/sky/examples/scrolling/scrolling.sky
@@ -7,7 +7,7 @@
<import src="/sky/framework/sky-scrollable.sky" />
<import src="../data/cities.sky" as="cities" />
-<sky-element name="example-scrollable">
+<sky-element>
<template>
<style>
sky-scrollable {
@@ -21,8 +21,8 @@
<script>
import "dart:sky";
-@Tagname('example-scrollable')
-class ExampleScrollable extends SkyElement {
+@Tagname('scrolling')
+class Scrolling extends SkyElement {
void shadowRootReady() {
Element parent = shadowRoot.querySelector('sky-scrollable');
for (Map city in cities.kData.getRange(0, 300)) {
@@ -33,6 +33,6 @@ class ExampleScrollable extends SkyElement {
}
}
-_init(script) => register(script, ExampleScrollable);
+_init(script) => register(script, Scrolling);
</script>
</sky-element>
« no previous file with comments | « sky/examples/scrolling/index.sky ('k') | sky/examples/shell/sensor.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698