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

Unified Diff: third_party/polymer/components/core-style/demo.html

Issue 592603004: Revert "Polymer elements added to third_party/polymer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: third_party/polymer/components/core-style/demo.html
diff --git a/third_party/polymer/components/core-style/demo.html b/third_party/polymer/components/core-style/demo.html
deleted file mode 100644
index 0681c6cca706632380a04e6ea9106a5e041564a1..0000000000000000000000000000000000000000
--- a/third_party/polymer/components/core-style/demo.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright 2013 The Polymer Authors. All rights reserved.
-Use of this source code is governed by a BSD-style
-license that can be found in the LICENSE file.
--->
-<html>
-<head>
- <title>core-style</title>
- <script src="../platform/platform.js"></script>
-
- <link rel="import" href="elements.html">
- <link rel="import" href="my-theme.html">
-
-</head>
-<body unresolved fullbleed vertical layout>
- <core-style ref="main"></core-style>
-
- <template is="auto-binding">
- <my-toolbar>
- <span flex>core-style</span>
- <input type="color" value="{{g.theme.colorOne}}">
- <input type="color" value="{{g.theme.colorTwo}}">
- <input type="color" value="{{g.theme.colorThree}}">
- <input type="range" min="1" max="8" value="{{g.columns}}">
- <button>A button</button>
- </my-toolbar>
- <section flex horizontal wrap layout>
- <template repeat="{{item in items}}">
- <my-panel>{{item}}</my-panel>
- </template>
- </section>
- </template>
-
- <script>
- (function() {
-
- addEventListener('polymer-ready', function() {
- var items = [];
- for (var i=0; i < 100; i++) {
- items.push(i);
- }
-
- CoreStyle.g.items = items;
-
- addEventListener('template-bound', function(e) {
- e.target.g = CoreStyle.g;
- e.target.items = items;
- });
- });
-
- })();
- </script>
-
-</body>
-</html>
-
-
« no previous file with comments | « third_party/polymer/components/core-style/core-style.html ('k') | third_party/polymer/components/core-style/elements.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698