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

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

Issue 293023008: Bring back initPolymer, allow boot.js only if using "polymer_experimental.html". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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;component=1" 21 <script type="application/dart" src="searchable_list.dart"></script>
22 src="searchable_list.dart"></script>
23 </polymer-element> 22 </polymer-element>
OLDNEW
« no previous file with comments | « samples/searchable_list/web/elements/demo_app.html ('k') | samples/searchable_list/web/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698