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

Unified Diff: samples/third_party/todomvc_performance/js_todomvc/elements/td-input.html

Issue 1576153002: Remove the Dromaeo and TodoMVC samples. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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_performance/js_todomvc/elements/td-input.html
diff --git a/samples/third_party/todomvc_performance/js_todomvc/elements/td-input.html b/samples/third_party/todomvc_performance/js_todomvc/elements/td-input.html
deleted file mode 100755
index 5679be12eaeb973a7535b1cfecf37110131dc82b..0000000000000000000000000000000000000000
--- a/samples/third_party/todomvc_performance/js_todomvc/elements/td-input.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<link rel="import" href="../components/polymer/polymer.html">
-
-<polymer-element name="td-input" extends="input" on-keyup="{{keyupAction}}" on-keypress="{{keypressAction}}">
- <script>
- (function() {
- var ENTER_KEY = 13;
- var ESC_KEY = 27;
- Polymer('td-input', {
- keypressAction: function(e, detail, sender) {
- // Listen for enter on keypress but esc on keyup, because
- // IE doesn't fire keyup for enter.
- if (e.keyCode === ENTER_KEY) {
- this.fire('td-input-commit');
- }
- },
- keyupAction: function(e, detail, sender) {
- if (e.keyCode === ESC_KEY) {
- this.fire('td-input-cancel');
- }
- }
- });
- })();
- </script>
-</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698