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

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

Issue 999873002: Move sky-*.sky into framework/elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: One missing Created 5 years, 9 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/examples/custom-element/example-element.sky ('k') | sky/examples/stocks/stock.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 <!-- 1 <!--
2 // Copyright 2015 The Chromium Authors. All rights reserved. 2 // Copyright 2015 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 --> 5 -->
6 <import src="/sky/framework/sky-element.sky" /> 6 <import src="/sky/framework/elements/sky-element.sky" />
7 <import src="/sky/framework/sky-scrollable.sky" /> 7 <import src="/sky/framework/elements/sky-scrollable.sky" />
8 8
9 <sky-element> 9 <sky-element>
10 <template> 10 <template>
11 <style> 11 <style>
12 sky-scrollable { 12 sky-scrollable {
13 margin: 20px; 13 margin: 20px;
14 height: 400px; 14 height: 400px;
15 border: 2px solid blue; 15 border: 2px solid blue;
16 } 16 }
17 </style> 17 </style>
(...skipping 11 matching lines...) Expand all
29 Element div = document.createElement('div'); 29 Element div = document.createElement('div');
30 div.setChild(new Text(city['name'])); 30 div.setChild(new Text(city['name']));
31 parent.appendChild(div); 31 parent.appendChild(div);
32 } 32 }
33 } 33 }
34 } 34 }
35 35
36 _init(script) => register(script, Scrolling); 36 _init(script) => register(script, Scrolling);
37 </script> 37 </script>
38 </sky-element> 38 </sky-element>
OLDNEW
« no previous file with comments | « sky/examples/custom-element/example-element.sky ('k') | sky/examples/stocks/stock.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698