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

Side by Side Diff: dart/samples/searchable_list/web/elements/searchable_list.html

Issue 227533007: Update TodoMVC and other samples for polymer 0.10.0-pre.7 Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 <!-- 1 <!--
2 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 2 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
3 for details. All rights reserved. Use of this source code is governed by a 3 for details. All rights reserved. Use of this source code is governed by a
4 BSD-style license that can be found in the LICENSE file. 4 BSD-style license that can be found in the LICENSE file.
5 --> 5 -->
6 6
7 <polymer-element name="searchable-list"> 7 <polymer-element name="searchable-list">
8 <template> 8 <template>
9 <div class="container"> 9 <div class="container">
10 <input class="form-control" type="text" value="{{searchParam}}"> 10 <input class="form-control" type="text" value="{{searchParam}}">
11 <template if="{{results.length > 0}}"> 11 <template if="{{results.length > 0}}">
12 <ul class="list-unstyled"> 12 <ul class="list-unstyled">
13 <template repeat="{{result in results}}"> 13 <template repeat="{{result in results}}">
14 <li>{{result}}</li> 14 <li>{{result}}</li>
15 </template> 15 </template>
16 </ul> 16 </ul>
17 </template> 17 </template>
18 </div> 18 </div>
19 </template> 19 </template>
20 20
21 <script type="application/dart" src="searchable_list.dart"></script> 21 <script type="application/dart;component=1"
22 src="searchable_list.dart"></script>
22 </polymer-element> 23 </polymer-element>
OLDNEW
« no previous file with comments | « dart/samples/searchable_list/web/elements/demo_app.html ('k') | dart/samples/searchable_list/web/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698