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

Side by Side Diff: sky/examples/city-list/city-list.sky

Issue 845523004: console.error when using unknown attributes in templates. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | sky/examples/widgets/index.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 2014 The Chromium Authors. All rights reserved. 2 // Copyright 2014 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="../../framework/sky-element/sky-element.sky" as="SkyElement" /> 6 <import src="../../framework/sky-element/sky-element.sky" as="SkyElement" />
7 <import src="city-data-service.sky" as="CityDataService" /> 7 <import src="city-data-service.sky" as="CityDataService" />
8 <import src="city-sequence.sky" as="CitySequence" /> 8 <import src="city-sequence.sky" as="CitySequence" />
9 9
10 <script> 10 <script>
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 display: none; 155 display: none;
156 } 156 }
157 157
158 .position { 158 .position {
159 position: absolute; 159 position: absolute;
160 left: 0; 160 left: 0;
161 right: 0; 161 right: 0;
162 } 162 }
163 163
164 </style> 164 </style>
165 <div id="scroller" fit> 165 <div id="scroller">
166 <div id="scrollarea"> 166 <div id="scrollarea">
167 <div id="contentarea"> 167 <div id="contentarea">
168 </div> 168 </div>
169 </div> 169 </div>
170 </div> 170 </div>
171 </template> 171 </template>
172 <script> 172 <script>
173 173
174 (function(global) { 174 (function(global) {
175 "use strict"; 175 "use strict";
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 619
620 scrollBy(amount) { 620 scrollBy(amount) {
621 this.scrollerElement.scrollTop += amount; 621 this.scrollerElement.scrollTop += amount;
622 this.handleScroll({ target: this.scrollerElement }); 622 this.handleScroll({ target: this.scrollerElement });
623 } 623 }
624 }.register(); 624 }.register();
625 625
626 })(this); 626 })(this);
627 </script> 627 </script>
628 </sky-element> 628 </sky-element>
OLDNEW
« no previous file with comments | « no previous file | sky/examples/widgets/index.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698