| Index: samples/third_party/todomvc_performance/web/elements/td_input.dart
|
| diff --git a/samples/third_party/todomvc_performance/web/elements/td_input.dart b/samples/third_party/todomvc_performance/web/elements/td_input.dart
|
| deleted file mode 100644
|
| index fc3211f36691ff70d7f6e5e04fb1d3d07b26c2b1..0000000000000000000000000000000000000000
|
| --- a/samples/third_party/todomvc_performance/web/elements/td_input.dart
|
| +++ /dev/null
|
| @@ -1,27 +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) {
|
| - e.preventDefault();
|
| - fire('td-input-commit');
|
| - }
|
| - }
|
| -
|
| - keyupAction(e) {
|
| - if (e.keyCode == KeyCode.ESC) {
|
| - fire('td-input-cancel');
|
| - }
|
| - }
|
| -}
|
|
|