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

Unified Diff: samples/third_party/todomvc_performance/js_todomvc/components/polymer-selector/test/html/polymer-selector-activate-event.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/components/polymer-selector/test/html/polymer-selector-activate-event.html
diff --git a/samples/third_party/todomvc_performance/js_todomvc/components/polymer-selector/test/html/polymer-selector-activate-event.html b/samples/third_party/todomvc_performance/js_todomvc/components/polymer-selector/test/html/polymer-selector-activate-event.html
deleted file mode 100644
index a552a682aca284ae2fb103335cdc0fe75d9ed77d..0000000000000000000000000000000000000000
--- a/samples/third_party/todomvc_performance/js_todomvc/components/polymer-selector/test/html/polymer-selector-activate-event.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<!doctype html>
-<html>
-<head>
- <title>polymer-selector-activate-event</title>
- <script src="../../../platform/platform.js"></script>
- <script src="../../../tools/test/htmltest.js"></script>
- <script src="../../../tools/test/chai/chai.js"></script>
- <link rel="import" href="../../polymer-selector.html">
- <style>
- .polymer-selected {
- background: #ccc;
- }
- </style>
-</head>
-<body>
-
- <polymer-selector id="selector" selected="0">
- <div>Item 1</div>
- <div>Item 2</div>
- <div>Item 3</div>
- <div>Item 4</div>
- <div>Item 5</div>
- </polymer-selector>
-
- <script>
- var assert = chai.assert;
- document.addEventListener('polymer-ready', function() {
- var s = document.querySelector('#selector');
- s.addEventListener("polymer-activate", function(event) {
- assert.equal(event.detail.item, s.children[1]);
- assert.equal(s.selected, 1);
- done();
- });
- assert.equal(s.selected, '0');
- requestAnimationFrame(function() {
- s.children[1].dispatchEvent(new CustomEvent('tap', {bubbles: true}));
- });
- });
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698