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

Side by Side Diff: samples/third_party/todomvc/web/elements/td_item.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 <link rel="import" href="td_input.html"> 1 <link rel="import" href="td_input.html">
2 <polymer-element name="td-item" extends="li" on-blur="{{commitAction}}"> 2 <polymer-element name="td-item" extends="li" on-blur="{{commitAction}}">
3 <template> 3 <template>
4 <link rel="stylesheet" href="td_item.css"> 4 <link rel="stylesheet" href="td_item.css">
5 <div class="view {{ {'completed': item.completed, 'editing': editing} }}" 5 <div class="view {{ {'completed': item.completed, 'editing': editing} }}"
6 hidden?="{{editing}}" on-dblclick="{{editAction}}"> 6 hidden?="{{editing}}" on-dblclick="{{editAction}}">
7 <input type="checkbox" class="toggle" checked="{{item.completed}}" 7 <input type="checkbox" class="toggle" checked="{{item.completed}}"
8 on-click="{{itemChangeAction}}"> 8 on-click="{{itemChangeAction}}">
9 <label>{{item.title}}</label> 9 <label>{{item.title}}</label>
10 <button class="destroy" on-click="{{destroyAction}}"></button> 10 <button class="destroy" on-click="{{destroyAction}}"></button>
11 </div> 11 </div>
12 <input is="td-input" id="edit" class="edit" value="{{item.title}}" 12 <input is="td-input" id="edit" class="edit" value="{{item.title}}"
13 hidden?="{{!editing}}" on-td-input-commit="{{commitAction}}" 13 hidden?="{{!editing}}" on-td-input-commit="{{commitAction}}"
14 on-td-input-cancel="{{cancelAction}}"> 14 on-td-input-cancel="{{cancelAction}}">
15 </template> 15 </template>
16 <script type="application/dart;component=1" src="td_item.dart"></script> 16 <script type="application/dart" src="td_item.dart"></script>
17 </polymer-element> 17 </polymer-element>
OLDNEW
« no previous file with comments | « samples/third_party/todomvc/web/elements/td_input.html ('k') | samples/third_party/todomvc/web/elements/td_model.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698