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

Side by Side Diff: samples/third_party/todomvc/web/editable_label.html

Issue 45753003: Update samples with latest polymer and Dartium changes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « samples/third_party/todomvc/web/app.html ('k') | samples/third_party/todomvc/web/index.html » ('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 (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 <polymer-element name="editable-label"> 6 <polymer-element name="editable-label">
7 <template> 7 <template>
8 <template if="{{!editing}}"> 8 <template if="{{!editing}}">
9 <label class='edit-label' on-doubleclick="edit">{{value}}</label> 9 <label class='edit-label' on-doubleclick="{{edit}}">{{value}}</label>
10 </template> 10 </template>
11 <template if="{{editing}}"> 11 <template if="{{editing}}">
12 <form on-submit="update"> 12 <form on-submit="{{update}}">
13 <input id="edit" class="edit editing" 13 <input id="edit" class="edit editing"
14 on-blur="update" on-keyup="maybeCancel"> 14 on-blur="{{update}}" on-keyup="{{maybeCancel}}">
15 </form> 15 </form>
16 </template> 16 </template>
17 </template> 17 </template>
18 <script type="application/dart" src="editable_label.dart"></script> 18 <script type="application/dart" src="editable_label.dart"></script>
19 </polymer-element> 19 </polymer-element>
OLDNEW
« no previous file with comments | « samples/third_party/todomvc/web/app.html ('k') | samples/third_party/todomvc/web/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698