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

Unified Diff: samples/third_party/todomvc/web/elements/td_input.dart

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/elements/td_input.dart
diff --git a/samples/third_party/todomvc/web/elements/td_input.dart b/samples/third_party/todomvc/web/elements/td_input.dart
deleted file mode 100644
index 9f79648047a1f4e8fd08387b30a4aab420270f75..0000000000000000000000000000000000000000
--- a/samples/third_party/todomvc/web/elements/td_input.dart
+++ /dev/null
@@ -1,24 +0,0 @@
-library todomvc.web.elements.td_input;
-
-import 'dart:html';
-import 'package:polymer/polymer.dart';
-
-@CustomTag('td-input')
-class TodoInput extends InputElement with Polymer, Observable {
- factory TodoInput() => new Element.tag('input', 'td-input');
- TodoInput.created() : super.created() { polymerCreated(); }
-
- keypressAction(e) {
- // Listen for enter on keypress but esc on keyup, because
- // IE doesn't fire keyup for enter.
- if (e.keyCode == KeyCode.ENTER) {
- fire('td-input-commit');
- }
- }
-
- keyupAction(e) {
- if (e.keyCode == KeyCode.ESC) {
- fire('td-input-cancel');
- }
- }
-}
« no previous file with comments | « samples/third_party/todomvc/web/editable_label.html ('k') | samples/third_party/todomvc/web/elements/td_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698