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

Unified Diff: samples/third_party/todomvc/web/editable_label.html

Issue 76013002: "Reverting 30387" -- failures on IE (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 side-by-side diff with in-line comments
Download patch
Index: samples/third_party/todomvc/web/editable_label.html
diff --git a/samples/third_party/todomvc/web/editable_label.html b/samples/third_party/todomvc/web/editable_label.html
new file mode 100644
index 0000000000000000000000000000000000000000..f42b271cc0389e22e2d6220b69f64a5e8fa6aa6d
--- /dev/null
+++ b/samples/third_party/todomvc/web/editable_label.html
@@ -0,0 +1,19 @@
+<!--
+Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
+for details. All rights reserved. Use of this source code is governed by a
+BSD-style license that can be found in the LICENSE file.
+-->
+<polymer-element name="editable-label">
+ <template>
+ <template if="{{!editing}}">
+ <label class='edit-label' on-doubleclick="{{edit}}">{{value}}</label>
+ </template>
+ <template if="{{editing}}">
+ <form on-submit="{{update}}">
+ <input id="edit" class="edit editing"
+ on-blur="{{update}}" on-keyup="{{maybeCancel}}">
+ </form>
+ </template>
+ </template>
+ <script type="application/dart" src="editable_label.dart"></script>
+</polymer-element>
« no previous file with comments | « samples/third_party/todomvc/web/editable_label.dart ('k') | samples/third_party/todomvc/web/elements/td_input.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698