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

Side by Side Diff: example/todomvc/web/todo_row.html

Issue 19497002: Reducing the amount of code we generate in the compiler: We still continue (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 5 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
4 for details. All rights reserved. Use of this source code is governed by a 4 for details. All rights reserved. Use of this source code is governed by a
5 BSD-style license that can be found in the LICENSE file. 5 BSD-style license that can be found in the LICENSE file.
6 --> 6 -->
7 <html> 7 <html>
8 <head> 8 <head>
9 <meta charset="utf-8"> 9 <meta charset="utf-8">
10 <link rel="import" href="editable_label.html"> 10 <link rel="import" href="editable_label.html">
11 </head> 11 </head>
12 <body> 12 <body>
13 <element name="todo-row" extends="li" apply-author-styles attributes="todo"> 13 <polymer-element name="todo-row" extends="li" apply-author-styles attributes="to do">
14 <template> 14 <template>
15 <style scoped> 15 <style scoped>
16 .todo-item { 16 .todo-item {
17 position: relative; 17 position: relative;
18 font-size: 24px; 18 font-size: 24px;
19 border-bottom: 1px dotted #ccc; 19 border-bottom: 1px dotted #ccc;
20 } 20 }
21 21
22 .todo-item.editing { 22 .todo-item.editing {
23 border-bottom: none; 23 border-bottom: none;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 } 122 }
123 } 123 }
124 </style> 124 </style>
125 <div class="todo-item"> 125 <div class="todo-item">
126 <input class="toggle" type="checkbox" checked="{{todo.done}}"> 126 <input class="toggle" type="checkbox" checked="{{todo.done}}">
127 <div is="editable-label" id="label" value="{{todo.task}}"></div> 127 <div is="editable-label" id="label" value="{{todo.task}}"></div>
128 <button class="destroy" on-click="removeTodo"></button> 128 <button class="destroy" on-click="removeTodo"></button>
129 </div> 129 </div>
130 </template> 130 </template>
131 <script type="application/dart" src="todo_row.dart"></script> 131 <script type="application/dart" src="todo_row.dart"></script>
132 </element> 132 </polymer-element>
133 </body> 133 </body>
134 </html> 134 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698