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

Unified Diff: example/todomvc/web/editable_label.html

Issue 22254002: fixes for latest SDK (Closed) Base URL: https://github.com/dart-lang/web-ui.git@master
Patch Set: fix comments Created 7 years, 4 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: example/todomvc/web/editable_label.html
diff --git a/example/todomvc/web/editable_label.html b/example/todomvc/web/editable_label.html
index b0f98245f256d92ee5a90ddb14ba49ef55ece62e..3040a01f0d93407c461fa2ac725b78676ad1d120 100644
--- a/example/todomvc/web/editable_label.html
+++ b/example/todomvc/web/editable_label.html
@@ -9,16 +9,15 @@ BSD-style license that can be found in the LICENSE file.
<meta charset="utf-8">
</head>
<body>
-<polymer-element name="editable-label" extends="div" attributes="value">
+<polymer-element name="editable-label" attributes="value">
<template>
- <template bind if="{{notEditing}}">
+ <template bind if="{{!editing}}">
<label class='edit-label' on-double-click="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-key-up="maybeCancel">
</form>
</template>
</template>

Powered by Google App Engine
This is Rietveld 408576698