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

Unified Diff: samples/third_party/todomvc_performance/js_todomvc/components/polymer-selection/demo.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-selection/demo.html
diff --git a/samples/third_party/todomvc_performance/js_todomvc/components/polymer-selection/demo.html b/samples/third_party/todomvc_performance/js_todomvc/components/polymer-selection/demo.html
deleted file mode 100644
index c7994a21475dc4ab2e672570ed380ecfcc7dd370..0000000000000000000000000000000000000000
--- a/samples/third_party/todomvc_performance/js_todomvc/components/polymer-selection/demo.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>Selection</title>
- <script src="../platform/platform.js"></script>
- <link rel="import" href="polymer-selection.html">
-</head>
-<body>
-<polymer-element name="selection-example">
- <template>
- <style>
- /* @polyfill ul > * */
- ::-webkit-distributed(> *) {
- cursor: pointer;
- }
-
- /* @polyfill ul > .selected */
- ::-webkit-distributed(> .selected) {
- font-weight: bold;
- font-style: italic;
- }
- </style>
- <ul on-tap="{{itemTapAction}}">
- <content></content>
- </ul>
- <polymer-selection id="selection" multi on-polymer-select="{{selectAction}}"></polymer-selection>
- </template>
- <script>
- Polymer('selection-example', {
- itemTapAction: function(e) {
- this.$.selection.select(e.target);
- },
- selectAction: function(e, detail) {
- detail.item.classList.toggle('selected', detail.isSelected);
- }
- });
- </script>
- </polymer-element>
-
- <selection-example>
- <li>Red</li>
- <li>Green</li>
- <li>Blue</li>
- </selection-example>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698