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

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

Issue 24149003: Port of github.com/polymer/polymer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 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
index 25530ace4c1245087ef455954106f2f09f608257..79fcc2a44aba02392bb09fa9aa6c9ea926cdfc72 100644
--- a/samples/third_party/todomvc/web/editable_label.html
+++ b/samples/third_party/todomvc/web/editable_label.html
@@ -3,15 +3,15 @@ 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" attributes="value">
+<polymer-element name="editable-label">
<template>
<template bind if="{{!editing}}">
- <label class='edit-label' on-double-click="edit">{{value}}</label>
+ <label class='edit-label' on-doubleclick="edit">{{value}}</label>
</template>
<template bind if="{{editing}}">
<form on-submit="update">
<input id="edit" class="edit editing"
- on-blur="update" on-key-up="maybeCancel">
+ on-blur="update" on-keyup="maybeCancel">
</form>
</template>
</template>

Powered by Google App Engine
This is Rietveld 408576698