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

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

Issue 22962005: Merge pull request #581 from kevmoo/polymer (Closed) Base URL: https://github.com/dart-lang/web-ui.git@polymer
Patch Set: 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
« no previous file with comments | « example/todomvc/web/editable_label.dart ('k') | example/todomvc/web/model.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « example/todomvc/web/editable_label.dart ('k') | example/todomvc/web/model.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698