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

Side by Side Diff: sky/framework/elements/sky-element.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/framework/elements/sky-drawer-header.sky ('k') | sky/framework/elements/sky-icon.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 <script> 6 <script>
7 import "dart:mirrors"; 7 import "dart:mirrors";
8 import "dart:sky"; 8 import "dart:sky";
9 9
10 typedef dynamic _Converter(String value); 10 typedef dynamic _Converter(String value);
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 throw new UnsupportedError('@Tagname can only be used on descendants of SkyE lement'); 155 throw new UnsupportedError('@Tagname can only be used on descendants of SkyE lement');
156 156
157 String tagName = _getTagName(type); 157 String tagName = _getTagName(type);
158 Element template = definition.querySelector('template'); 158 Element template = definition.querySelector('template');
159 159
160 document.registerElement(tagName, type); 160 document.registerElement(tagName, type);
161 _registery[tagName] = new _Registration(template) 161 _registery[tagName] = new _Registration(template)
162 ..parseAttributeSpec(definition); 162 ..parseAttributeSpec(definition);
163 } 163 }
164 </script> 164 </script>
OLDNEW
« no previous file with comments | « sky/framework/elements/sky-drawer-header.sky ('k') | sky/framework/elements/sky-icon.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698